proposal: bring nonlocal to py2.x
Mark Lawrence
breamoreboy at yahoo.co.uk
Mon Jan 13 10:24:01 EST 2014
On 13/01/2014 15:12, Giampaolo Rodola' wrote:
>
> On Mon, Jan 13, 2014 at 3:47 PM, Neal Becker <ndbecker2 at gmail.com
> <mailto: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.
>
> 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
More information about the Python-list
mailing list