[Python-3000] Sky pie: a "var" keyword
fredrik at pythonware.com
Tue Oct 10 15:47:55 CEST 2006
Ka-Ping Yee wrote:
> The only sane proposal i've seen that consistently addresses all
> these cases, doesn't create new ambiguous situations, and doesn't
> break most existing Python code is the "nonlocal" declaration.
> nonlocal x
> "Don't make a new binding for x in the local scope."
wasn't there a PEP on this once upon a time ?
wait a minute...
alright, the first google hit for "nonlocal pep" is a mail from Guido where he's
"+1/can anyone write a PEP" in response to a mail from you:
(and for the curious, the followups to Guido's post includes links to earlier
More information about the Python-3000