From b8b57cff0e4adee0636b8337db32727cbca4dc29 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Fri, 17 Jun 2005 22:19:41 +0000 Subject: [PATCH] Mark PEP 312 as Deferred -- it needs a more Pythonic syntax) --- pep-0000.txt | 4 ++-- pep-0312.txt | 14 +++++++++++++- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/pep-0000.txt b/pep-0000.txt index 139311543..2e7f4bc30 100644 --- a/pep-0000.txt +++ b/pep-0000.txt @@ -92,7 +92,6 @@ Index by Category S 302 New Import Hooks JvR S 304 Controlling Generation of Bytecode Files Montanaro 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 315 Enhanced While Loop Carroll S 319 Python Synchronize/Asynchronize Block Pelletier @@ -206,6 +205,7 @@ Index by Category SR 296 Adding a bytes Object Type Gilbert SR 303 Extend divmod() for Multiple Divisors Bellman SR 308 If-then-else expression GvR, Hettinger + SD 312 Simple Implicit Lambda Suzi, Martelli SR 313 Adding Roman Numeral Literals to Python Meyer SD 316 Programming by Contract for Python Way SR 317 Eliminate Implicit Exception Instantiation Taschuk @@ -353,7 +353,7 @@ Numerical Index SF 309 Partial Function Application Harris S 310 Reliable Acquisition/Release Pairs Hudson, Moore 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 S 314 Metadata for Python Software Packages v1.1 Kuchling S 315 Enhanced While Loop Carroll diff --git a/pep-0312.txt b/pep-0312.txt index 0ed5b8e50..526e0475b 100644 --- a/pep-0312.txt +++ b/pep-0312.txt @@ -3,7 +3,7 @@ Title: Simple Implicit Lambda Version: $Revision$ Last-Modified: $Date$ Author: Roman Suzi , Alex Martelli -Status: Draft +Status: Deferred Type: Standards Track Content-Type: text/plain Created: 11-Feb-2003 @@ -16,6 +16,18 @@ Abstract This PEP proposes to make argumentless lambda keyword optional in 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