[Python-Dev] nonlocal x = value (original) (raw)
Nick Coghlan ncoghlan at gmail.com
Mon Dec 27 13:25:03 CET 2010
- Previous message: [Python-Dev] nonlocal x = value
- Next message: [Python-Dev] nonlocal x = value
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] nonlocal x = value
- Next message: [Python-Dev] nonlocal x = value
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]