diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-05-01 21:19:15 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-05-01 21:19:15 (GMT) |
commit | 3249dec02484674830177488c8f01d8d04873928 (patch) | |
tree | 6e41437d0f5066601875d2219f714367978ed178 /Misc/NEWS | |
parent | 9c4f09d0f487de32444ebc2e11fdbaadf3dc5cd3 (diff) | |
download | cpython-3249dec02484674830177488c8f01d8d04873928.zip cpython-3249dec02484674830177488c8f01d8d04873928.tar.gz cpython-3249dec02484674830177488c8f01d8d04873928.tar.bz2 |
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).
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -10,6 +10,11 @@ What's New in Python 3.1.4? Core and Builtins ----------------- +- 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). + - Issue #6780: fix starts/endswith error message to mention that tuples are accepted too. |