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: 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: References: Date: Tue, 14 Jan 2014 02:28:47 +1100 Subject: Re: proposal: bring nonlocal to py2.x From: Chris Angelico Cc: "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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 On Tue, Jan 14, 2014 at 2:24 AM, Mark Lawrence 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