On 21 Aug 2005, at 04:23, Jamey Cribbs wrote:
[snip]
> Oops!  I should have said, "because a Python lambda can only have  
> an expression, not a statement...".  Here's a quote from the Python  
> Tutorial: "They are syntactically restricted to a single  
> expression".  And here's a quote from Python's Language Reference:  
> "Note that functions created with lambda forms cannot contain  
> statements".
[snip]

Of course Python might not have lambda's much longer. See <http:// 
www.artima.com/weblogs/viewpost.jsp?thread=98196> for Guido's  
comments on why lambda, reduce and friends may soon meet their demise  
in Python.

Adrian