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

Chris Angelico rosuav at gmail.com
Sun May 13 00:23:08 EDT 2018

On Sun, May 13, 2018 at 2:05 PM, Cameron Simpson <cs at cskk.id.au> wrote:
> 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.


I'm not sure which version you're looking at, so there's the rejections of both.


More information about the Python-ideas mailing list