[Python-Dev] Explicit Lexical Scoping (pre-PEP?)

Phillip J. Eby pje at telecommunity.com
Wed Jul 5 00:25:38 CEST 2006

At 12:18 AM 7/5/2006 +0200, Guido van Rossum wrote:
>I don't see anything else that's attractive. The realistic options are:
>1. do nothing
>2. extend global's meaning
>3. add outer keyword

Did you also consider and reject:

* Alternate binding operators (e.g. ":=", ".=", etc.)

* Alternate spelling of outer names when binding (e.g. ".x = whatever" to 
bind an outer x)

If so, then these should probably be added to the "rejected alternatives" 
for Py3K so they don't get rehashed.

More information about the Python-Dev mailing list