Message 245924 - Python tracker

Message245924

Author ncoghlan
Recipients amaury.forgeotdarc, bgailer, docs@python, eric.araujo, eric.snow, ethan.furman, flox, georg.brandl, martin.panter, ncoghlan, nedbat, r.david.murray, techtonik, terry.reedy
Date 2015-06-29.07:39:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1435563596.56.0.885463560799.issue17546@psf.upfronthosting.co.za>
In-reply-to
Content
I mostly like Martin's suggested wording, but would also note that I filed issue 17960 to tighten up the requirements for when we expect assigning to locals() to work.

To save folks reading the whole referenced email, I think it would be worth defining that modifying the namespace returned by locals() will affect the runtime namespace at module and class scope and when using exec, but will have no effect at function scope (as locals() returns a copy of the namespace in that case).
History
Date User Action Args
2015-06-29 07:39:56ncoghlansetrecipients: + ncoghlan, georg.brandl, terry.reedy, amaury.forgeotdarc, techtonik, nedbat, bgailer, eric.araujo, r.david.murray, flox, docs@python, ethan.furman, eric.snow, martin.panter
2015-06-29 07:39:56ncoghlansetmessageid: <1435563596.56.0.885463560799.issue17546@psf.upfronthosting.co.za>
2015-06-29 07:39:56ncoghlanlinkissue17546 messages
2015-06-29 07:39:56ncoghlancreate