[issue35273] 'eval' in generator expression behave different in dict from list

Peter Otten report at bugs.python.org
Mon Nov 19 02:49:10 EST 2018


Peter Otten <__peter__ at web.de> added the comment:

You probably saw this is in Python 2.7 where it is the expected behaviour.
All versions of Python 3 should produce the NameError.

----------
nosy: +peter.otten
versions: +Python 3.6 -Python 2.7

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


More information about the Python-bugs-list mailing list