Nested scopes: why is it weird?

Paul Rubin phr-n2001 at nightsong.com
Sat Sep 8 22:36:05 EDT 2001


Alex Martelli <aleaxit at yahoo.com> writes:
> Fine-grained scoping can only work hand in hand with declarations, and 
> Python (thanks be) does not have them.

Python already has a "global" declaration.  It seems reasonable to me
to also give it a "local" (or "my" as Perl would call it) declaration.



More information about the Python-list mailing list