From 715daf682458c6a8f46d545cd4b7e076b48d2a4e Mon Sep 17 00:00:00 2001 From: mdipierro Date: Wed, 22 Aug 2012 13:00:28 -0500 Subject: [PATCH] fixed have_bug --- VERSION | 2 +- gluon/storage.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 6e421825..e5a497a6 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.00.0 (2012-08-22 10:48:10) dev +Version 2.00.0 (2012-08-22 13:00:24) dev diff --git a/gluon/storage.py b/gluon/storage.py index bd5c649b..456fc27c 100644 --- a/gluon/storage.py +++ b/gluon/storage.py @@ -21,12 +21,11 @@ __all__ = ['List', 'Storage', 'Settings', 'Messages', def have_python_bug_1469629(): """ http://bugs.python.org/issue1469629 - - because of this bug class Storage is slower on Python < 2.7.3 """ import weakref class Test(dict): def __init__(self): + dict.__init__(self) self.__dict__ = self s = Test() w = weakref.ref(s)