[Python-Dev] nonlocal keyword in 2.x?
Raymond Hettinger
python at rcn.com
Mon Nov 2 19:06:27 CET 2009
[Guido van Rossum]
> I'm -0 on backporting nonlocal to 2.7. I could be +0 if we added "from
> __future__ import nonlocal_keyword" (or some such phrasing) to enable
> it.
With the "from __future__" option, what keeps you from being
a full +1 on nonlocal? Is there something that makes it a better
solution for 3.x than 2.x? Just curious about the pros and cons
from your point of view.
Raymond
More information about the Python-Dev
mailing list