]> git.ipfire.org Git - thirdparty/Python/cpython.git/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:43:37 +0000 (23:43 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sun, 1 May 2011 21:43:37 +0000 (23:43 +0200)
commite363ec10578d7c378998a2170fb7babe3cfb6586
tree1164473d6ece233ded4d00f5e52e3f7607b94245
parent12b8fcfc45373ba48961866289809a004fcd5c14
(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