Mark PEP 312 as Deferred -- it needs a more Pythonic syntax)

This commit is contained in:
Raymond Hettinger 2005-06-17 22:19:41 +00:00
parent 461d444be3
commit b8b57cff0e
2 changed files with 15 additions and 3 deletions

View File

@ -92,7 +92,6 @@ Index by Category
S 302 New Import Hooks JvR S 302 New Import Hooks JvR
S 304 Controlling Generation of Bytecode Files Montanaro S 304 Controlling Generation of Bytecode Files Montanaro
S 310 Reliable Acquisition/Release Pairs Hudson, Moore S 310 Reliable Acquisition/Release Pairs Hudson, Moore
S 312 Simple Implicit Lambda Suzi, Martelli
S 314 Metadata for Python Software Packages v1.1 Kuchling S 314 Metadata for Python Software Packages v1.1 Kuchling
S 315 Enhanced While Loop Carroll S 315 Enhanced While Loop Carroll
S 319 Python Synchronize/Asynchronize Block Pelletier S 319 Python Synchronize/Asynchronize Block Pelletier
@ -206,6 +205,7 @@ Index by Category
SR 296 Adding a bytes Object Type Gilbert SR 296 Adding a bytes Object Type Gilbert
SR 303 Extend divmod() for Multiple Divisors Bellman SR 303 Extend divmod() for Multiple Divisors Bellman
SR 308 If-then-else expression GvR, Hettinger SR 308 If-then-else expression GvR, Hettinger
SD 312 Simple Implicit Lambda Suzi, Martelli
SR 313 Adding Roman Numeral Literals to Python Meyer SR 313 Adding Roman Numeral Literals to Python Meyer
SD 316 Programming by Contract for Python Way SD 316 Programming by Contract for Python Way
SR 317 Eliminate Implicit Exception Instantiation Taschuk SR 317 Eliminate Implicit Exception Instantiation Taschuk
@ -353,7 +353,7 @@ Numerical Index
SF 309 Partial Function Application Harris SF 309 Partial Function Application Harris
S 310 Reliable Acquisition/Release Pairs Hudson, Moore S 310 Reliable Acquisition/Release Pairs Hudson, Moore
SF 311 Simplified GIL Acquisition for Extensions Hammond SF 311 Simplified GIL Acquisition for Extensions Hammond
S 312 Simple Implicit Lambda Suzi, Martelli SD 312 Simple Implicit Lambda Suzi, Martelli
SR 313 Adding Roman Numeral Literals to Python Meyer SR 313 Adding Roman Numeral Literals to Python Meyer
S 314 Metadata for Python Software Packages v1.1 Kuchling S 314 Metadata for Python Software Packages v1.1 Kuchling
S 315 Enhanced While Loop Carroll S 315 Enhanced While Loop Carroll

View File

@ -3,7 +3,7 @@ Title: Simple Implicit Lambda
Version: $Revision$ Version: $Revision$
Last-Modified: $Date$ Last-Modified: $Date$
Author: Roman Suzi <rnd at onego.ru>, Alex Martelli <aleax at aleax.it> Author: Roman Suzi <rnd at onego.ru>, Alex Martelli <aleax at aleax.it>
Status: Draft Status: Deferred
Type: Standards Track Type: Standards Track
Content-Type: text/plain Content-Type: text/plain
Created: 11-Feb-2003 Created: 11-Feb-2003
@ -16,6 +16,18 @@ Abstract
This PEP proposes to make argumentless lambda keyword optional in This PEP proposes to make argumentless lambda keyword optional in
some cases where it is not grammatically ambiguous. some cases where it is not grammatically ambiguous.
Deferral
The BDFL hates the unary colon syntax. This PEP needs to go back
to the drawing board and find a more Pythonic syntax (perhaps an
alternative unary operator). See python-dev discussion on
17 June 2005.
Also, it is probably a good idea to eliminate the alternative
propositions which have no chance at all. The examples section
is good and highlights the readability improvements. It would
carry more weight with additional examples and with real-world
referrents (instead of the abstracted dummy calls to :A and :B).
Motivation Motivation