[issue3692] improper scope in list comprehension, when used in class declaration
Guido van Rossum
report at bugs.python.org
Thu May 3 18:46:31 EDT 2018
Guido van Rossum <guido at python.org> added the comment:
There's a proposal for a fix currently in PEP 572. I'm linking to the commit here because we're likely to remove it from PEP 572, but it may be proposed as a separate PEP: https://github.com/python/peps/commit/71fea57f19231b9917ce6a558c0b763288385398
Bug or not this is not going to change without a PEP, so I'm not sure it's a good idea to keep this issue open.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue3692>
_______________________________________
More information about the Python-bugs-list
mailing list