[issue23087] Exec variable not found error

2014-12-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: https://stackoverflow.com/questions/27554334/python-3-dictionary-comprehension-exec-error/27571212#27571212 -- nosy: +terry.reedy resolution: - not a bug stage: - resolved status: open - closed ___ Python tracker

[issue23087] Exec variable not found error

2014-12-18 Thread Keith Chewning
New submission from Keith Chewning: If I %paste this code into an ipython shell the test passes. If this is saved to a file DictTest.py and run with ./DictTest.py -m the test fails. with the error name 'keys' is not defined If the variable keys is made global, as is suggested in the comment,

[issue23087] Exec variable not found error

2014-12-18 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23087 ___ ___

[issue23087] Exec variable not found error

2014-12-18 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23087 ___