A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2009-November/093519.html below:

[Python-Dev] nonlocal keyword in 2.x?

[Python-Dev] nonlocal keyword in 2.x? [Python-Dev] nonlocal keyword in 2.x?Brett Cannon brett at python.org
Mon Nov 2 00:57:21 CET 2009
On Sun, Nov 1, 2009 at 13:39, Raymond Hettinger <python at rcn.com> wrote:
>> As I said: Python 2 support is not only about supporting old versions of
>> Python,
>> but also supporting users of Python2-only modules. So 2.7 support will
>> for the most part be a case not of supporting Python versions, but
>> Python *users*. And contrary to what Antoine said, that *is* a good
>> reason to backport it.
>
> FWIW, I support backporting the nonlocal-keyword in 2.7.
> All of the reasons for introducting nonlocal to 3.x also apply to 2.x.
> Using the nonlocal keyword in clear and explicit, especially
> when compared to the existing workarounds which are not pretty.

We are voting, I'm -0.

-Brett
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4