From: Victor Stinner Date: Sun, 1 May 2011 21:33:06 +0000 (+0200) Subject: (Merge 3.2) Issue #9756: When calling a method descriptor or a slot wrapper X-Git-Tag: v3.3.0a1~2441 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6a534e7e7b9820bcae40883d6158ec19887fceb3;p=python (Merge 3.2) 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). --- 6a534e7e7b9820bcae40883d6158ec19887fceb3 diff --cc Misc/NEWS index 1e31c8f9d6,381c7f27a6..d9af0c4f6d --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -10,10 -10,11 +10,15 @@@ What's New in Python 3.3 Alpha 1 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 #10517: After fork(), reinitialize the TLS used by the PyGILState_* + APIs, to avoid a crash with the pthread implementation in RHEL 5. Patch + by Charles-François Natali. + - Issue #10914: Initialize correctly the filesystem codec when creating a new subinterpreter to fix a bootstrap issue with codecs implemented in Python, as the ISO-8859-15 codec.