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


Groups > comp.lang.python > #63831

Re: proposal: bring nonlocal to py2.x

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: proposal: bring nonlocal to py2.x
Date 2014-01-13 15:24 +0000
References <lb0ua4$fmj$1@ger.gmane.org> <CAFYqXL9UTE-2tMpUO313rKgt8vaH1UVnMA=RieuNTHUUUbW2Aw@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.5407.1389626656.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 13/01/2014 15:12, Giampaolo Rodola' wrote:
>
> On Mon, Jan 13, 2014 at 3:47 PM, Neal Becker <ndbecker2@gmail.com
> <mailto: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.
>
> It's not gonna happens as per PEP-404:
> http://www.python.org/dev/peps/pep-0404/
>

But it could theoretically happen if Neal wants it so badly that he 
raises an issue on the bug tracker against Python 2.7, finds all the 
relevant source code in Python 3, back ports it, modifies all the 
relevant docs and unit tests, then finds some warm hearted person to 
commit the changes.  Five minute job.  Simples :)

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

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


Thread

Re: proposal: bring nonlocal to py2.x Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-01-13 15:24 +0000

csiph-web