[Python-ideas] Inline assignments using "given" clauses

Cameron Simpson cs at cskk.id.au
Sun May 13 00:05:32 EDT 2018

On 11May2018 11:40, Jacco van Dorp <j.van.dorp at deonet.nl> wrote:
>[...] That all said, I would still prefer:
>if re.match(stuff) as m:
>which is exactly equal to the := in line length and parallels with.
>While that may -technically- be a different beast.

Yeah, this is my favorite also. Has the same feel and ordering as with, import 
and except.

Could someone point me to a post which nicely describes the rationale behind 
its rejection?  I'm sure there's one in the many in this discussion but I've 
not found it yet.

Cameron Simpson <cs at cskk.id.au>

More information about the Python-ideas mailing list