diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-06-19 19:42:22 -0500 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-06-19 19:42:22 -0500 |
commit | f5ff22329b3a4838054dfadfad74fc5a0519cbb2 (patch) | |
tree | cbf644106089a69d028c954e246dab129b3d02cd /Python/import.c | |
parent | 019d0f27a3fc8d4daa7caea8c041cd26d5873950 (diff) | |
download | cpython-git-f5ff22329b3a4838054dfadfad74fc5a0519cbb2.tar.gz |
use a invalid name for the __class__ closure for super() (closes #12370)
This prevents the assignment of __class__ in the class body from breaking
super. (Although a determined person could do locals()["@__class__"] = 4)
Diffstat (limited to 'Python/import.c')
0 files changed, 0 insertions, 0 deletions