[Python-ideas] PEP 572 version 2: Statement-Local Name Bindings

Paul Moore p.f.moore at gmail.com
Fri Mar 2 06:56:55 EST 2018


On 2 March 2018 at 11:43, Chris Angelico <rosuav at gmail.com> wrote:
> After dozens of posts and a wide variety of useful opinions and
> concerns being raised, here is the newest version of PEP 572 for your
> debating pleasure.

This is a distinct improvement - thanks for incorporating the varied
feedback so well.

I still remain -1, though. Reasons scattered through the other thread
but mostly relating to the fact that there are subtle differences
between statement-local names and other names in Python (notably that
you can't close over them). I don't think the benefits of the proposal
are sufficient to justify introducing a new
similar-but-subtly-different type of name.

Paul


More information about the Python-ideas mailing list