[Python-Dev] Whatever happened to 'nonlocal x = y'?

Benjamin Peterson benjamin at python.org
Sat Jan 6 01:52:00 EST 2018



On Fri, Jan 5, 2018, at 01:57, Nathaniel Smith wrote: 
> Was this just an oversight, or did it get rejected at some point and
> no-one remembered to update that PEP?

There was an implementation https://bugs.python.org/issue4199. But several years ago, we again reached the conclusion that the feature shouldn't be added.

Normally, I think final PEPs shouldn't be updated. But maybe in this case, it's worth deleting those lines to avoid future confusion.


More information about the Python-Dev mailing list