]> granicus.if.org Git - python/commit
(Merge 3.1) Issue #9756: When calling a method descriptor or a slot wrapper
authorVictor Stinner <victor.stinner@haypocalc.com>
Sun, 1 May 2011 21:31:36 +0000 (23:31 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sun, 1 May 2011 21:31:36 +0000 (23:31 +0200)
commitd9561318d849df12775d7a111aa85bbf62a54c0f
tree72c5bd9cfa4a614054c05a52cae6839a3679523c
parentda623ed9f43a13bc285a7e29ae8774d29c481332
parent3249dec02484674830177488c8f01d8d04873928
(Merge 3.1) 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
Objects/descrobject.c