Reverted to a standard dictionary in SharedMemoryBase; not having this does return the old 'going out of scope' from yesteryear.

This commit is contained in:
Griatch 2014-05-11 07:27:56 +02:00
parent e11b242365
commit 0c848eb9a2

View file

@ -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):