[Python-Dev] Informal educator feedback on PEP 572 (was Re: 2018 Python Language Summit coverage, last part)

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Jun 25 18:34:47 EDT 2018


Ivan Pozdeev via Python-Dev wrote:
> "as" was suggested even before is became a keyword in `with'. ( if 
> (re.match(regex,line) as m) is not None: <do smth> )

That's not equivalent where/given, though, since it still
has the asymmetry problem.

-- 
Greg


More information about the Python-Dev mailing list