[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
- Previous message: [Python-Dev] Use an empty def as a lambda
- Next message: [Python-Dev] sys.intern should work on bytes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] Use an empty def as a lambda
- Next message: [Python-Dev] sys.intern should work on bytes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]