[issue31688] scope error
R. David Murray
report at bugs.python.org
Wed Oct 4 12:48:23 EDT 2017
R. David Murray <rdmurray at bitdance.com> added the comment:
Yes, this conforms to Python's namespace/scoping rules: nested scopes are allowed to reference (but not assign to) variables from the global scope even without a 'global' declaration.
----------
nosy: +r.david.murray
resolution: -> not a bug
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31688>
_______________________________________
More information about the Python-bugs-list
mailing list