[Python-Dev] (name := expression) doesn't fit the narrative of PEP 20
Antoine Pitrou
solipsis at pitrou.net
Wed Apr 25 20:14:14 EDT 2018
On Wed, 25 Apr 2018 18:55:56 -0500
Tim Peters <tim.peters at gmail.com> wrote:
>
> > the shorthand version appears completely bonkers.
>
> I wouldn't go that far, but I already said I wouldn't write it that way.
>
> However, without looking at real code, people are just flat-out
> guessing about how bad - or good - things _can_ get, no matter how
> confident they sound.
>
> So at least give me credit for presenting the _worst_ brief
> binding-expression example you've seen too ;-)
I had no idea you were a bit short on them, so I'll gladly give you
credits for it :-) But I hope you'll use them responsibly!
Regards
Antoine.
More information about the Python-Dev
mailing list