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

Greg Ewing greg.ewing at canterbury.ac.nz
Fri May 11 03:05:47 EDT 2018

Guido van Rossum wrote:
> I'd need well-reasoned explanations

My reasoning is essentially the same as what I've already
said about "where". To summarise, "given" sounds like
something an English-speaking mathematician would write,
whereas ":=" doesn't even have an obvious pronunciation.
Some variation on "given" just seems greatly more pythonic
to me.


More information about the Python-ideas mailing list