Patch from Georg Brandl and me for #1493

Remove unbound method objects
This commit is contained in:
Christian Heimes 2007-11-25 09:39:14 +00:00
parent 91c77301bf
commit 4a22b5dee7
19 changed files with 65 additions and 115 deletions

View file

@ -552,7 +552,7 @@ class ClassTests(unittest.TestCase):
self.assertEquals(hash(B.f), hash(A.f))
# the following triggers a SystemError in 2.4
a = A(hash(A.f.im_func)^(-1))
a = A(hash(A.f)^(-1))
hash(a.f)
def test_main():