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

Guido van Rossum guido at python.org
Sat Jan 6 11:43:35 EST 2018


Maybe we should not delete them outright but add something like "(UPDATE:
during later discussions it was decided that this feature shouldn't be
added.)"

On Fri, Jan 5, 2018 at 10:52 PM, Benjamin Peterson <benjamin at python.org>
wrote:

>
>
> 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.
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/
> guido%40python.org
>



-- 
--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20180106/a8ee7458/attachment.html>


More information about the Python-Dev mailing list