summaryrefslogtreecommitdiff
path: root/Lib/contextlib.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-05-01 23:31:36 +0200
committerVictor Stinner <victor.stinner@haypocalc.com>2011-05-01 23:31:36 +0200
commitd9561318d849df12775d7a111aa85bbf62a54c0f (patch)
tree72c5bd9cfa4a614054c05a52cae6839a3679523c /Lib/contextlib.py
parentda623ed9f43a13bc285a7e29ae8774d29c481332 (diff)
parent3249dec02484674830177488c8f01d8d04873928 (diff)
downloadcpython-git-d9561318d849df12775d7a111aa85bbf62a54c0f.tar.gz
(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).
Diffstat (limited to 'Lib/contextlib.py')
0 files changed, 0 insertions, 0 deletions