[Python-Dev] Use an empty def as a lambda (original) (raw)

Lennart Regebro regebro at gmail.com
Sat Sep 21 07:42:19 CEST 2013


On Thu, Sep 19, 2013 at 10:54 PM, Ben Gift <benhgift at gmail.com> wrote:

I think the lambda keyword is difficult to understand for many people. It would be more pythonic to use an empty def call instead.

I agree, but that ship has sailed, at least until the time when Python 2 is dead. I don't want these kinds of syntax changes for a looooong time now, personally.

//Lennart



More information about the Python-Dev mailing list