Message185491
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? |
|
Date |
User |
Action |
Args |
2013-03-29 06:08:32 | techtonik | set | recipients:
+ techtonik, georg.brandl, amaury.forgeotdarc, nedbat, bgailer, docs@python, eric.snow |
2013-03-29 06:08:32 | techtonik | set | messageid: <1364537312.44.0.427161091149.issue17546@psf.upfronthosting.co.za> |
2013-03-29 06:08:32 | techtonik | link | issue17546 messages |
2013-03-29 06:08:31 | techtonik | create | |
|