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


Groups > comp.lang.python > #63831 > unrolled thread

Re: proposal: bring nonlocal to py2.x

Started byMark Lawrence <breamoreboy@yahoo.co.uk>
First post2014-01-13 15:24 +0000
Last post2014-01-13 15:24 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#63831 — Re: proposal: bring nonlocal to py2.x

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2014-01-13 15:24 +0000
SubjectRe: proposal: bring nonlocal to py2.x
Message-ID<mailman.5407.1389626656.18130.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web