summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-05-01 21:19:15 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-05-01 21:19:15 (GMT)
commit3249dec02484674830177488c8f01d8d04873928 (patch)
tree6e41437d0f5066601875d2219f714367978ed178 /Misc
parent9c4f09d0f487de32444ebc2e11fdbaadf3dc5cd3 (diff)
downloadcpython-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')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index b4ba3b6..41bda2a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.