For review: PEP 308 - If-then-else expression

holger krekel pyth at devel.trillke.net
Sat Feb 8 08:41:31 EST 2003


Richard Jones wrote:
> On Sat, 8 Feb 2003 3:03 pm, Andrew Koenig wrote:
> > Richard> 1. Python already has the required functionality, just in
> > Richard> another form (ie.  not as an expression, but as a statement)
> >
> > Exactly the same argument applies to lambda expressions and list
> > comprehensions.
> 
> Absolutely. Guido regrets lambdas, and I don't believe list comprehensions 
> were a necessary addition to the language. Disclaimer: doesn't stop me using 
> either, but I could just as easily use some other form.

In recent python-dev threads Guido said something like "never mind what
i said about lambdas in the past :-)".  The topic du jour was how
to support timely finalization.  Just a side note.  

    holger





More information about the Python-list mailing list