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 nedbat
Recipients amaury.forgeotdarc, bgailer, docs@python, eric.snow, georg.brandl, nedbat, techtonik, terry.reedy
Date 2013-03-30.15:28:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1364657303.11.0.662702916044.issue17546@psf.upfronthosting.co.za>
In-reply-to
Content
I would say it something like this:

"The dictionary returned by locals() is an accurate snapshot of the local namespace at the time it is called.  After the call returns, changes to one may or may not be reflected in the other.  The dictionary may change unpredictably after the call, and how it does is implementation-specific.    Holding a reference to the dictionary may produce surprising effects."
History
Date User Action Args
2013-03-30 15:28:23nedbatsetrecipients: + nedbat, georg.brandl, terry.reedy, amaury.forgeotdarc, techtonik, bgailer, docs@python, eric.snow
2013-03-30 15:28:23nedbatsetmessageid: <1364657303.11.0.662702916044.issue17546@psf.upfronthosting.co.za>
2013-03-30 15:28:23nedbatlinkissue17546 messages
2013-03-30 15:28:22nedbatcreate