Message388370
exec(obj, globals(), locals()) is the same as exec(obj). Also, locals in a function scope are optimized, so the locals() dict is a snapshot. Modifying the snapshot dict doesn't modify the optimized local variables. At most I think this issue is a duplicate of bpo-24800, to clarify the implicit local scope and behavior. |
|
Date |
User |
Action |
Args |
2021-03-09 16:41:50 | eryksun | set | recipients:
+ eryksun, Keepun |
2021-03-09 16:41:50 | eryksun | set | messageid: <1615308110.83.0.490043712681.issue43448@roundup.psfhosted.org> |
2021-03-09 16:41:50 | eryksun | link | issue43448 messages |
2021-03-09 16:41:50 | eryksun | create | |
|