[issue3692] improper scope in list comprehension, when used in class declaration

Mariatta Wijaya report at bugs.python.org
Wed Apr 25 19:46:53 EDT 2018


Mariatta Wijaya <mariatta.wijaya at gmail.com> added the comment:

I'm re-opening this, since the behavior sounds like a bug to me.

While I understand why it behaves the way it is now, but it seems wrong behavior. Perhaps we should look into finding a solution.

----------
nosy: +Mariatta
resolution: wont fix -> 
status: closed -> open
versions: +Python 3.8 -Python 3.0

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue3692>
_______________________________________


More information about the Python-bugs-list mailing list