diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-05-01 23:31:36 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-05-01 23:31:36 +0200 |
commit | d9561318d849df12775d7a111aa85bbf62a54c0f (patch) | |
tree | 72c5bd9cfa4a614054c05a52cae6839a3679523c /Lib/contextlib.py | |
parent | da623ed9f43a13bc285a7e29ae8774d29c481332 (diff) | |
parent | 3249dec02484674830177488c8f01d8d04873928 (diff) | |
download | cpython-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