From 0c848eb9a20d1303e36ab10b605e36fc1a94f0ce Mon Sep 17 00:00:00 2001 From: Griatch Date: Sun, 11 May 2014 07:27:56 +0200 Subject: [PATCH] Reverted to a standard dictionary in SharedMemoryBase; not having this does return the old 'going out of scope' from yesteryear. --- src/utils/idmapper/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/idmapper/base.py b/src/utils/idmapper/base.py index 9b7874f1b1..6d9414601b 100755 --- a/src/utils/idmapper/base.py +++ b/src/utils/idmapper/base.py @@ -71,8 +71,8 @@ class SharedMemoryModelBase(ModelBase): def _prepare(cls): - cls.__instance_cache__ = WeakValueDictionary() - #cls.__instance_cache__ = {} #WeakValueDictionary() + #cls.__instance_cache__ = WeakValueDictionary() + cls.__instance_cache__ = {} #WeakValueDictionary() super(SharedMemoryModelBase, cls)._prepare() def __new__(cls, classname, bases, classdict, *args, **kwargs):