Message185440
Changing the type of the locals() return isn't the right way to solve this problem. Better docs is the way to do it. If someone is calling locals(), they should read the docs. Examining the type of values is discouraged in Python, we shouldn't expect people to discover nonintuitive behavior because the type has been artificially changed to "livedict". |
|
Date |
User |
Action |
Args |
2013-03-28 12:18:23 | nedbat | set | recipients:
+ nedbat, georg.brandl, amaury.forgeotdarc, techtonik, bgailer, docs@python, eric.snow |
2013-03-28 12:18:23 | nedbat | set | messageid: <1364473103.04.0.643122825767.issue17546@psf.upfronthosting.co.za> |
2013-03-28 12:18:23 | nedbat | link | issue17546 messages |
2013-03-28 12:18:22 | nedbat | create | |
|