]> granicus.if.org Git - python/commit
(Merge 3.2) Issue #9756: When calling a method descriptor or a slot wrapper
authorVictor Stinner <victor.stinner@haypocalc.com>
Sun, 1 May 2011 21:33:06 +0000 (23:33 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sun, 1 May 2011 21:33:06 +0000 (23:33 +0200)
commit6a534e7e7b9820bcae40883d6158ec19887fceb3
tree258214af864165f89c10d4dbd3443d5cb9728788
parent571e8fda9b6fdf2172ee071457d5f9e73fe4d70d
parentd9561318d849df12775d7a111aa85bbf62a54c0f
(Merge 3.2) Issue #9756: When calling a method descriptor or a slot wrapper
descriptor, the check of the object type doesn't read the __class__ attribute
anymore.  Fix a crash if a class override its __class__ attribute (e.g. a proxy
of the str type).
Lib/test/test_descr.py
Misc/NEWS