[Python-3000] replace globals() and global statement with global builtin object

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Jul 3 03:49:43 CEST 2006


Guido van Rossum wrote:
> I don't yet want to add "improve global" as a
> no-no to PEP 3099.

What about simply redefining it to mean "not local"?
No syntax change at all, and just a very small
semantic change.

--
Greg


More information about the Python-3000 mailing list