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

Paul Moore p.f.moore at gmail.com
Sun Feb 5 21:43:57 CET 2006


On 2/5/06, Guido van Rossum <guido at python.org> wrote:
> After so many attempts to come up with an alternative for lambda,
> perhaps we should admit defeat. I've not had the time to follow the
> most recent rounds, but I propose that we keep lambda, so as to stop
> wasting everybody's talent and time on an impossible quest.

+1

The recently suggested keyword change, from lambda to expr (as in
'''expr x, y: x+y''') looks like an improvement to me, but I suspect
opening up the possibility of a keyword change would simply restart
all the discussions... (Nevertheless, I'd be +1 on lambda being
renamed to expr, if it was an option).

Paul.


More information about the Python-Dev mailing list