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


Groups > comp.lang.python > #63833

Re: proposal: bring nonlocal to py2.x

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'badly': 0.09; 'lawrence': 0.09; 'modifies': 0.09; 'pep': 0.09; 'raises': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'tests,': 0.09; 'worse': 0.09; 'python': 0.11; 'bug': 0.12; 'jan': 0.12; '2.7': 0.14; 'language.': 0.14; 'finds': 0.16; 'fork': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'simples': 0.16; 'language': 0.16; 'wrote:': 0.18; 'commit': 0.19; 'header:User-Agent:1': 0.23; 'source': 0.25; 'tracker': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; '(which': 0.31; 'code': 0.31; 'could': 0.34; 'but': 0.35; '14,': 0.36; 'unit': 0.37; 'branch': 0.38; 'to:addr:python-list': 0.38; 'issue': 0.38; 'that,': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'either': 0.39; 'received:org': 0.40; 'even': 0.60; 'warm': 0.60; 'back': 0.62; 'happen': 0.63; 'our': 0.64; 'approved': 0.65; '2.8': 0.84; 'received:2': 0.84; 'ports': 0.93
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: proposal: bring nonlocal to py2.x
Date Mon, 13 Jan 2014 15:33:53 +0000
References <lb0ua4$fmj$1@ger.gmane.org> <CAFYqXL9UTE-2tMpUO313rKgt8vaH1UVnMA=RieuNTHUUUbW2Aw@mail.gmail.com> <lb10e5$d1i$1@ger.gmane.org> <CAPTjJmo_ZD1mMvikx8XjofgfwhDFZrbaXeM2q42-EKR1kFs-Jg@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host host-2-98-200-239.as13285.net
User-Agent Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
In-Reply-To <CAPTjJmo_ZD1mMvikx8XjofgfwhDFZrbaXeM2q42-EKR1kFs-Jg@mail.gmail.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.5409.1389627248.18130.python-list@python.org> (permalink)
Lines 25
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1389627248 news.xs4all.nl 2930 [2001:888:2000:d::a6]:47485
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:63833

Show key headers only | View raw


On 13/01/2014 15:28, Chris Angelico wrote:
> On Tue, Jan 14, 2014 at 2:24 AM, Mark Lawrence <breamoreboy@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

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:33 +0000

csiph-web