[Python-ideas] Statements vs Expressions... why?

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Sep 16 02:04:04 CEST 2008

Piotr Wysocki wrote:

> If you want an 'if' without 'else', there is a new keyword 'when'
> (well, there is also 'unless') for the imperative approach.

But in a language where every statement is an expression,
this just moves the problem to that of what the value of
a "when" statement should be.


More information about the Python-ideas mailing list