[issue3692] improper scope in list comprehension, when used in class declaration
Serhiy Storchaka
report at bugs.python.org
Mon May 7 10:09:14 EDT 2018
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
I don't think this will need drastic changes. Just setting some flags here or there for making comprehensions using LOAD_NAME instead of LOAD_GLOBAL. The fix should lie near the fix for issue33346.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue3692>
_______________________________________
More information about the Python-bugs-list
mailing list