[issue32361] global / nonlocal interference : is this a bug, a feature or a design hole ?
Camion
report at bugs.python.org
Wed Dec 20 11:00:37 EST 2017
Camion <camion_spam-pybugs at yahoo.com> added the comment:
I don't think there anything in the definition of "lexical scoping", which forbids to have a way to access globals from some place. Lexical scoping just means that scoping is defined in regards of the source code, by opposition dynamic scoping, which defines the scope in regard with execution.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32361>
_______________________________________
More information about the Python-bugs-list
mailing list