add test test/test_dereference.py + memoryleaks in optiondescription's cache

This commit is contained in:
2013-08-27 21:36:52 +02:00
parent d75cef9c0f
commit 3be005e82e
7 changed files with 123 additions and 9 deletions

View File

@ -239,7 +239,7 @@ def delete_session(session_id):
#____________________________________________________________
class Settings(object):
"``Config()``'s configuration options"
__slots__ = ('context', '_owner', '_p_')
__slots__ = ('context', '_owner', '_p_', '__weakref__')
def __init__(self, context, storage):
"""