[Python-ideas] Where-statement (Proposal for function expressions)

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Jul 19 02:06:15 CEST 2009

Ben Finney wrote:

> That pretty much spells its doom, then. The BDFL is quite firm (as
> demonstrated in, e.g., the pronouncement against multi-line lambda
> <URL:http://www.python.org/dev/peps/pep-3099/>) that multi-statement
> expressions are verboten.

But it's not a multi-statement expression. It's
a statement with a suite, and it works entirely
within the existing framework of the grammar.


More information about the Python-ideas mailing list