This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eryksun
Recipients Keepun, eryksun
Date 2021-03-09.16:41:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1615308110.83.0.490043712681.issue43448@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-03-09 16:41:50eryksunsetrecipients: + eryksun, Keepun
2021-03-09 16:41:50eryksunsetmessageid: <1615308110.83.0.490043712681.issue43448@roundup.psfhosted.org>
2021-03-09 16:41:50eryksunlinkissue43448 messages
2021-03-09 16:41:50eryksuncreate