fixed have_bug

This commit is contained in:
mdipierro
2012-08-22 13:00:28 -05:00
parent 7db563066b
commit 715daf6824
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.00.0 (2012-08-22 10:48:10) dev
Version 2.00.0 (2012-08-22 13:00:24) dev
+1 -2
View File
@@ -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)