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 techtonik
Recipients amaury.forgeotdarc, bgailer, docs@python, eric.snow, georg.brandl, nedbat, techtonik
Date 2013-03-29.06:08:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1364537312.44.0.427161091149.issue17546@psf.upfronthosting.co.za>
In-reply-to
Content
Ok. Maybe I proposed the solution too early. I am fine with doc fix, but given the previous experience I have doubts it will happen. Maybe opening a wiki page with a current draft can help:

   http://wiki.python.org/moin/Locals
    or better
   http://piratepad.net/locals

Describing implementation details is necessary, but they should include a recommendation how to work with locals safely and avoid hitting yourself in the foot if you don't want to read about internals. For that I propose "if you are not interested in implementation details, always copy locals() to dict to avoid potential problems with auto-updating behavior. This is also guaranteed to work with other Python implementations." Is that ok?
History
Date User Action Args
2013-03-29 06:08:32techtoniksetrecipients: + techtonik, georg.brandl, amaury.forgeotdarc, nedbat, bgailer, docs@python, eric.snow
2013-03-29 06:08:32techtoniksetmessageid: <1364537312.44.0.427161091149.issue17546@psf.upfronthosting.co.za>
2013-03-29 06:08:32techtoniklinkissue17546 messages
2013-03-29 06:08:31techtonikcreate