[docs] [issue17546] Document the circumstances where the locals() dict gets updated
report at bugs.python.org
Wed Mar 27 15:43:12 CET 2013
anatoly techtonik added the comment:
> "I as a user" can
> see and can inspect for further troubleshooting
This doesn't work for this example, which was your question.
I still feel like this needs further clarification. For a user this behavior is not expected. User is someone who doesn't know the internal details of Python interpreter (and may not even remember that dict can be modified by reference). If you disagree with me - try to do corridor testing and see how many people will compile it in their head and give you the right answer to this example.
Python tracker <report at bugs.python.org>
More information about the docs