[Python-Dev] Let's just *keep* lambda

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Feb 10 04:20:22 CET 2006

skip at pobox.com wrote:

> Lambdas are expressions.  Statements can't be embedded in expressions.  That
> statements and expressions are different is a core feature of the language.
> That is almost certainly not going to change.

Although "print" may become a function in 3.0, so that this
particular example would no longer be a problem.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | Carpe post meridiam!          	  |
Christchurch, New Zealand	   | (I'm not a morning person.)          |
greg.ewing at canterbury.ac.nz	   +--------------------------------------+

More information about the Python-Dev mailing list