[Python-Dev] nonlocal keyword in 2.x?

"Martin v. Löwis" martin at v.loewis.de
Thu Oct 22 22:24:35 CEST 2009


Mike Krell wrote:
> Is there any possibility of backporting support for the nonlocal keyword
> into a  2.x release?  

If so, only into 2.7. Can you please explain why it would be desirable
to do that? 2.7 will likely be the last 2.x release, so only a fairly
small portion of the applications would be actually able to use this (or
any other new feature added to 2.7): most code supporting 2.x will also
have to support 2.6, so the keyword won't be available to such code,
anyway.

Regards,
Martin


More information about the Python-Dev mailing list