Message348272
What leads you to believe that eval *shouldn't* work in the global scope in a comprehension?
If not the global scope, which scope should it be, local or nonlocal? Is the behaviour documented differently?
For reference, the current docs for eval are here:
https://docs.python.org/3.5/library/functions.html#eval |
|
Date |
User |
Action |
Args |
2019-07-22 00:15:41 | steven.daprano | set | recipients:
+ steven.daprano, Grzegorz Krasoń |
2019-07-22 00:15:41 | steven.daprano | set | messageid: <1563754541.44.0.772894325995.issue37646@roundup.psfhosted.org> |
2019-07-22 00:15:41 | steven.daprano | link | issue37646 messages |
2019-07-22 00:15:41 | steven.daprano | create | |
|