fixed have_bug
This commit is contained in:
@@ -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
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user