[Python-checkins] python/nondist/peps pep-0000.txt, 1.321, 1.322 pep-0336.txt, 1.1, 1.2

rhettinger@users.sourceforge.net rhettinger at users.sourceforge.net
Fri Jun 17 19:43:02 CEST 2005


Update of /cvsroot/python/python/nondist/peps
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6282

Modified Files:
	pep-0000.txt pep-0336.txt 
Log Message:
Record the rejection of PEP 336

Index: pep-0000.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0000.txt,v
retrieving revision 1.321
retrieving revision 1.322
diff -u -d -r1.321 -r1.322
--- pep-0000.txt	17 Jun 2005 17:33:17 -0000	1.321
+++ pep-0000.txt	17 Jun 2005 17:43:00 -0000	1.322
@@ -107,7 +107,6 @@
  S   332  Byte vectors and String/Unicode Unification  Montanaro
  S   334  Simple Coroutines via SuspendIteration       Evans
  S   335  Overloadable Boolean Operators               Ewing
- S   336  Make None Callable                           McClelland
  S   337  Logging Usage in the Standard Library        Dubner
  S   338  Executing modules inside packages with '-m'  Coghlan
  S   341  Unifying try-except and try-finally          Birkenfeld
@@ -212,6 +211,7 @@
  SR  317  Eliminate Implicit Exception Instantiation   Taschuk
  SR  326  A Case for Top and Bottom Values             Carlson, Reedy
  SR  329  Treating Builtins as Constants in the Standard Library  Hettinger
+ SR  336  Make None Callable                           McClelland
  SR  340  Anonymous Block Statements                   GvR
  SR  346  User Defined ("with") Statements             Coghlan
  SR  666  Reject Foolish Indentation                   Creighton
@@ -377,7 +377,7 @@
  I   333  Python Web Server Gateway Interface v1.0     Eby
  S   334  Simple Coroutines via SuspendIteration       Evans
  S   335  Overloadable Boolean Operators               Ewing
- S   336  Make None Callable                           McClelland
+ SR  336  Make None Callable                           McClelland
  S   337  Logging Usage in the Standard Library        Dubner
  S   338  Executing modules inside packages with '-m'  Coghlan
  I   339  How to Change CPython's Bytecode             Cannon

Index: pep-0336.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0336.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- pep-0336.txt	3 Nov 2004 16:58:30 -0000	1.1
+++ pep-0336.txt	17 Jun 2005 17:43:00 -0000	1.2
@@ -15,6 +15,14 @@
     None should be a callable object that when called with any
     arguments has no side effect and returns None.
 
+BDFL Pronouncement
+
+    This PEP is rejected.  It is considered a feature that None raises
+    an error when called.  The proposal falls short in tests for
+    obviousness, clarity, explictness, and necessity.  The provided Switch
+    example is nice but easily handled by a simple lambda definition.
+    See python-dev discussion on 17 June 2005.
+
 
 Motivation
 



More information about the Python-checkins mailing list