proposal: bring nonlocal to py2.x

Chris Angelico rosuav at gmail.com
Mon Jan 13 09:55:36 EST 2014


On Tue, Jan 14, 2014 at 1:47 AM, Neal Becker <ndbecker2 at gmail.com> wrote:
> py3 includes a fairly compelling feature: nonlocal keywork
> But backward compatibility is lost.  It would be very helpful
> if this was available on py2.x.

Python 2.x is no longer being developed. It won't be gaining features
like this. Use the nonlocal feature as a reason for migrating to
Python 3 :)

ChrisA



More information about the Python-list mailing list