[docs] [issue17546] Document the circumstances where the locals() dict gets updated
report at bugs.python.org
Thu Mar 28 13:18:23 CET 2013
Ned Batchelder added the comment:
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".
Python tracker <report at bugs.python.org>
More information about the docs