A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2010-December/107026.html below:

[Python-Dev] nonlocal x = value

[Python-Dev] nonlocal x = valueNick Coghlan ncoghlan at gmail.com
Mon Dec 27 13:25:03 CET 2010
On Mon, Dec 27, 2010 at 8:31 PM, Mark Dickinson <dickinsm at gmail.com> wrote:
> On Mon, Dec 27, 2010 at 9:43 AM, Raymond Hettinger
> <raymond.hettinger at gmail.com> wrote:
>> FWIW, I'm entirely opposed to doing an assignment in a nonlocal definition.
>> [...]
>
> -1 for assignment in nonlocal and global statements from me, too.

Indeed. The PEP should be updated to be clear that that part was never
implemented (referencing Raymond's post for the reasons why).

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
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