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


Groups > comp.lang.python > #63832

Re: proposal: bring nonlocal to py2.x

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.006
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'badly': 0.09; 'lawrence': 0.09; 'modifies': 0.09; 'raises': 0.09; 'tests,': 0.09; 'worse': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'bug': 0.12; 'jan': 0.12; '2.7': 0.14; 'finds': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'simples': 0.16; 'wrote:': 0.18; 'commit': 0.19; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'source': 0.25; 'tracker': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; '(which': 0.31; 'code': 0.31; 'could': 0.34; 'but': 0.35; 'received:google.com': 0.35; '14,': 0.36; 'unit': 0.37; 'branch': 0.38; 'issue': 0.38; 'that,': 0.38; 'does': 0.39; 'either': 0.39; 'even': 0.60; 'warm': 0.60; 'back': 0.62; 'happen': 0.63; 'approved': 0.65; '2.8': 0.84; 'to:none': 0.92; 'ports': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=FnIWVrbdK7eZ2NjUqWtfQfOICojy/zF4QIfVvXL5rZk=; b=w8RfnpYeM7wAfIICOOEEUGVKCtZZE/MZGWZ1GzogoJ/C/c7DB6LJrUWYfBfWLYaCL/ R7zpa463jZQgbDPaOrkRNQoawYMiExsXsKLTQJbcST4ebJv1rCJkzOADScRkhAi+HkRv qLCqobA49spfkvY6AwMG0Tgdb77Hpm2NEwnq11ZaBQ/3fmqNtijD1FfvHPh/Q/4Rs3El 0giPG0MKONb2XqVuUi4Lxm2Ub5vjzhRDXkbxrxBsVLnybd0vGOVcoSWMIHiYx0Aa+j4r 9lpkwp4ZtcbYT0ZyLDMqVIWOfhxtZWoN/Wuk1hkCp/PIiJHntw3Mv/QgzSgbSbZ2nE2s y+5w==
MIME-Version 1.0
X-Received by 10.68.247.6 with SMTP id ya6mr30112622pbc.45.1389626927446; Mon, 13 Jan 2014 07:28:47 -0800 (PST)
In-Reply-To <lb10e5$d1i$1@ger.gmane.org>
References <lb0ua4$fmj$1@ger.gmane.org> <CAFYqXL9UTE-2tMpUO313rKgt8vaH1UVnMA=RieuNTHUUUbW2Aw@mail.gmail.com> <lb10e5$d1i$1@ger.gmane.org>
Date Tue, 14 Jan 2014 02:28:47 +1100
Subject Re: proposal: bring nonlocal to py2.x
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
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.5408.1389626936.18130.python-list@python.org> (permalink)
Lines 13
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1389626936 news.xs4all.nl 2885 [2001:888:2000:d::a6]:43686
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:63832

Show key headers only | View raw


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

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


Thread

Re: proposal: bring nonlocal to py2.x Chris Angelico <rosuav@gmail.com> - 2014-01-14 02:28 +1100

csiph-web