[Python-3000] Sky pie: a "var" keyword
Mike Krell
mbk.lists at gmail.com
Tue Oct 10 17:12:42 CEST 2006
> > 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.
[snip]
> Agreed - I believe the only real problem with the idea was that nobody could
> come up with a name for this statement that was clearly the right name.
[snip of arguments against previously proposed keywords]
The fact that this issue gets raised over and over again tells me that
I'm not alone in thinking this is a big language wart. Please,
please, please add a "nonlocal" keyword under some appropriate
spelling. Even if we can't all agree on the best name, I'd rather
have the small wart of an oddly spelled keyword than the IMHO big mess
we have today.
Then again, I'm the kind of guy that likes the new conditional
expression syntax, so what do I know? :-)
Mike
More information about the Python-3000
mailing list