proposal: bring nonlocal to py2.x

Mark Lawrence breamoreboy at yahoo.co.uk
Mon Jan 13 10:33:53 EST 2014


On 13/01/2014 15:28, Chris Angelico wrote:
> On Tue, Jan 14, 2014 at 2:24 AM, Mark Lawrence <breamoreboy at yahoo.co.uk> wrote:
>> 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 :)
>
> It's even worse than that, because adding 'nonlocal' is not a bugfix.
> So to be committed to the repo, it has to be approved for either 2.7
> branch (which is in bugfix-only maintenance mode) or 2.8 branch (which
> does not exist). Good luck. :)
>
> ChrisA
>

Then target the 2.8 fork that will take place if there's no agreement 
over PEP 460.  Still a five minute job, still 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