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


Groups > comp.lang.python > #63830

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!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <g.rodola@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.014
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'lost.': 0.09; 'cc:addr :python-list': 0.11; 'jan': 0.12; 'backward': 0.16; 'cc:name:python list': 0.16; 'gonna': 0.16; 'url:peps': 0.16; 'wrote:': 0.18; 'email addr:gmail.com&gt;': 0.22; 'cc:addr:python.org': 0.22; 'url:dev': 0.24; 'fairly': 0.24; 'helpful': 0.24; 'mon,': 0.24; 'cc:2**0': 0.24; 'header:In-Reply- To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; '13,': 0.31; 'url:python': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'pm,': 0.38; 'url:mail': 0.40; 'url:blogspot': 0.65; 'to:addr:gmail.com': 0.65
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=CBli4VKfaBRApGX+/8SS4jeCHaW62ja7Baw57/FD6HM=; b=XzyE3HIdumJWT2NgdbL7B6bLSpKG7Em90Lf5JV4VVZ3ThWRJtEwKrzQ+5s/1RDTR99 vdiLwqOcOdmO+2lZtP2sgYnFn71j7GdjDP2kjnYqe/YA6RNgE+NyGSIpDnCmOVXAs0nh JLZYRre9iFjgC+mK1zTTdf8DHiYJN5UO747ocmS2yNmPm+Y7r5Yls5P595PNx325MOLt 3PGTHyjvQknCkBXga2ENSe3zXquC4QHmm/Ur2LRZZY5hXFq5/ckLGdXNM/ZF+6qXQ1Hc pkmX9AWVrKu5tjp2mI5HJKfVz5Z221X1+RydSsnde46Dy0P4NZp3Fba2tm9Dvjtirt6l JCgA==
X-Received by 10.152.203.129 with SMTP id kq1mr302341lac.77.1389625993547; Mon, 13 Jan 2014 07:13:13 -0800 (PST)
MIME-Version 1.0
In-Reply-To <lb0ua4$fmj$1@ger.gmane.org>
References <lb0ua4$fmj$1@ger.gmane.org>
From "Giampaolo Rodola'" <g.rodola@gmail.com>
Date Mon, 13 Jan 2014 16:12:53 +0100
Subject Re: proposal: bring nonlocal to py2.x
To Neal Becker <ndbecker2@gmail.com>
Content-Type multipart/alternative; boundary=001a113480a0b7554f04efdb837b
Cc Python List <python-list@python.org>
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.5406.1389625996.18130.python-list@python.org> (permalink)
Lines 52
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1389625996 news.xs4all.nl 2901 [2001:888:2000:d::a6]:35628
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:63830

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Mon, Jan 13, 2014 at 3:47 PM, Neal Becker <ndbecker2@gmail.com> wrote:

> py3 includes a fairly compelling feature: nonlocal keywork
> But backward compatibility is lost.  It would be very helpful
> if this was available on py2.x.
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>


It's not gonna happens as per PEP-404:
http://www.python.org/dev/peps/pep-0404/

-- 
Giampaolo - http://grodola.blogspot.com

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


Thread

Re: proposal: bring nonlocal to py2.x "Giampaolo Rodola'" <g.rodola@gmail.com> - 2014-01-13 16:12 +0100

csiph-web