Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'variables': 0.07; 'badly': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'worse': 0.09; 'api': 0.11; 'cc:addr:python-list': 0.11; 'python': 0.11; 'bug': 0.12; '2.7': 0.14; 'exported': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'fix': 0.17; 'wrote:': 0.18; 'module': 0.19; 'cc:addr:python.org': 0.22; 'header:User-Agent:1': 0.23; 'cc:2**0': 0.24; 'header:X-Complaints-To:1': 0.27; 'header :In-Reply-To:1': 0.27; 'chris': 0.29; '(which': 0.31; 'developers.': 0.31; 'fixing': 0.31; 'skip:c 30': 0.32; 'but': 0.35; "didn't": 0.36; 'branch': 0.38; 'to:addr:python-list': 0.38; 'that,': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'changed': 0.39; 'either': 0.39; 'received:org': 0.40; 'release': 0.40; 'even': 0.60; 'approved': 0.65; 'received:109': 0.72; '2.7.': 0.84; '2.8': 0.84; 'sfxlen:4': 0.84; 'pfxlen:big': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Robin Becker Subject: Re: proposal: bring nonlocal to py2.x Date: Wed, 15 Jan 2014 12:07:25 +0000 References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "python-list@python.org" X-Gmane-NNTP-Posting-Host: 109.174.168.73 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: 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: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1389787659 news.xs4all.nl 2915 [2001:888:2000:d::a6]:54267 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:63972 On 13/01/2014 15:28, Chris Angelico wrote: .......... > > 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. :) ....... fixing badly named variables is not a bug fix either, but that has happened in python 2.7. A micro change release changed compiler.consts.SC_GLOBAL_EXPLICT to compiler.consts.SC_GLOBAL_EXPLICIT this is a change of api for the consts module (if you regard exported variables as part of its api), but that didn't count for the developers. -- Robin Becker