[Python-Dev] Recommend accepting PEP 312 -- Simple Implicit Lambda

Raymond Hettinger raymond.hettinger at verizon.net
Fri Jun 17 23:49:37 CEST 2005

This PEP is an excellent example of improving readability and usability
by omitting a keyword and simplifying syntax.  It neither provides nor
takes away functionality; instead, it is a bit of a beautification

Essentially it creates a lighter-weight, more usable syntax for
specifying deferred function arguments.  Like decorators, this helps out
programmers who understand and use this technique, and it is harmless
and invisible for the rest.  It is especially handy in the absence of an
if-then-else expression.  The PEP is backwards compatible.

Recommend accepting just the basic PEP which only targets simple,
obvious cases.  The discussed extensions are unattractive and should be


More information about the Python-Dev mailing list