[issue29008] Can't do dict comp from previously defined dict in the outermost scope of class defintion
Xiang Zhang
report at bugs.python.org
Sun Dec 18 22:39:53 EST 2016
Xiang Zhang added the comment:
This is by design in 3.x. You can refer #11796 for explanation.
----------
nosy: +xiang.zhang
resolution: -> not a bug
stage: -> resolved
status: open -> closed
superseder: -> Comprehensions in a class definition mostly cannot access class variable
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29008>
_______________________________________
More information about the Python-bugs-list
mailing list