[docs] [issue17546] Document the circumstances where the locals() dict gets updated

Eric Snow report at bugs.python.org
Wed Mar 27 19:01:42 CET 2013


Eric Snow added the comment:

I should also point out that the following from that note may actually also be a CPython implementation detail:

   Each call to locals() will return the same dictionary, updated to
   the contents of the current local symbol table.

We'd want to be sure that such should be expected from all implementations (since it basically adds to the language specification).  Otherwise it should also go in an impl-detail note.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17546>
_______________________________________


More information about the docs mailing list