<div dir="ltr"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
As the PEP author, that's your job.<br></blockquote><div><br></div><div>I started writing the PEP, and I found an interesting example:</div><div><br></div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div class="gmail_quote"><div><div>    if not (m := re.match(r'^(\d+)-(\d+)$', identifier):</div></div></div><div class="gmail_quote"><div><div>        raise ValueError('f{identifier} is not a valid identifier')</div></div></div><div class="gmail_quote"><div><div>    print(f'first part is {m.group(1)}')</div></div></div><div class="gmail_quote"><div><div>    print(f'first part is {m.group(2)}')</div></div></div></blockquote><div class="gmail_quote"><div><br></div><div>That's fairly easy to understand, and not something that can be resolved with `as` if it's part of the `if` and `while` statement, rather than a different syntax for the `:=` semantics.</div><div><br></div><div>That one would have to be written as it is done now:</div><div><br></div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div class="gmail_quote">    m = re.match(r'^(\d+)-(\d+)$', identifier)</div></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div class="gmail_quote">    if not m:</div></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div class="gmail_quote">        raise ValueError('f{identifier} is not a valid identifier')</div><div class="gmail_quote">    print(f'first part is {m.group(1)}')</div><div class="gmail_quote">    print(f'first part is {m.group(2)}')</div></blockquote></div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><span style="color:rgb(0,102,0)">Juancarlo </span><b style="color:rgb(0,102,0)">Añez</b></div></div>