[Python-Dev] nonlocal keyword in 2.x?
Neal Norwitz
nnorwitz at gmail.com
Thu Oct 22 06:46:54 CEST 2009
On Wed, Oct 21, 2009 at 6:56 PM, Mike Krell <mbk.lists at gmail.com> wrote:
> Is there any possibility of backporting support for the nonlocal keyword
> into a 2.x release? I see it's not in 2.6, but I don't know if that was an
> intentional design choice or due to a lack of demand / round tuits. I'm
> also not sure if this would fall under the scope of the proposed moratorium
> on new language features (although my first impression was that it could be
> allowed since it already exists in python 3.
IIRC, Jeremy Hylton tried to backport it during a Pycon sprint a few
years back. I think it was difficult and he dropped it. I don't know
if there were any showstoppers or if Jeremy saved his work...or if my
memory is even correct. :-)
n
More information about the Python-Dev
mailing list