]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #9756: When calling a method descriptor or a slot wrapper descriptor, the
authorVictor Stinner <victor.stinner@haypocalc.com>
Sun, 1 May 2011 21:19:15 +0000 (23:19 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sun, 1 May 2011 21:19:15 +0000 (23:19 +0200)
commit3249dec02484674830177488c8f01d8d04873928
tree6e41437d0f5066601875d2219f714367978ed178
parent9c4f09d0f487de32444ebc2e11fdbaadf3dc5cd3
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