Stefan Krah <ste...@bytereef.org> added the comment:

> Stefan, your last example is formally speaking OK, if one reads the 
> "Execution model" literally. The original example is however too
+ambiguous, so it is good that it triggers an error.

OK yes -- desirable, no. IMO execution models are not a great definition for 
scoping.

It certainly prevents Python scopes from being called "lexical scopes".

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32361>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to