Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #63829

Re: proposal: bring nonlocal to py2.x

References <lb0ua4$fmj$1@ger.gmane.org>
Date 2014-01-14 01:55 +1100
Subject Re: proposal: bring nonlocal to py2.x
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.5405.1389625274.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Tue, Jan 14, 2014 at 1:47 AM, Neal Becker <ndbecker2@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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: proposal: bring nonlocal to py2.x Chris Angelico <rosuav@gmail.com> - 2014-01-14 01:55 +1100

csiph-web