[issue17853] class construction name resolution broken in functions
Ethan Furman
report at bugs.python.org
Sat Apr 27 23:35:31 CEST 2013
Ethan Furman added the comment:
I guess the question is:
Because Python can no longer know if the name has been inserted via __prepare__ it has to go through the whole CLOSURE
business, but will changing the LOAD_DEREF to a LOAD_GLOBAL (only for items inside a class def) do the trick?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17853>
_______________________________________
More information about the Python-bugs-list
mailing list