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

anatoly techtonik report at bugs.python.org
Sat Mar 30 15:00:03 CET 2013


anatoly techtonik added the comment:

> them as CPython implementation details and not part of the language definition

What is the formal language definition of locals() then? What behavior and functionality of locals() should be supported by all Python implementations? For a potential language developer, what should locals() calls return to be compatible with this Python definition?

----------

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


More information about the Python-bugs-list mailing list