[Python-checkins] python/nondist/peps pep-0000.txt, 1.317, 1.318 pep-0281.txt, 1.1, 1.2
rhettinger@users.sourceforge.net
rhettinger at users.sourceforge.net
Fri Jun 17 06:57:09 CEST 2005
Update of /cvsroot/python/python/nondist/peps
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6881
Modified Files:
pep-0000.txt pep-0281.txt
Log Message:
Record the rejection of PEP 281.
Index: pep-0000.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0000.txt,v
retrieving revision 1.317
retrieving revision 1.318
diff -u -d -r1.317 -r1.318
--- pep-0000.txt 17 Jun 2005 04:30:41 -0000 1.317
+++ pep-0000.txt 17 Jun 2005 04:57:07 -0000 1.318
@@ -86,7 +86,6 @@
S 275 Switching on Multiple Values Lemburg
S 276 Simple Iterator for ints Althoff
S 280 Optimizing access to globals GvR
- S 281 Loop Counter Iteration with range and xrange Hetland
S 284 Integer for-loops Eppstein, Ewing
S 286 Enhanced Argument Tuples von Loewis
I 287 reStructuredText Docstring Format Goodger
@@ -160,6 +159,7 @@
SF 277 Unicode file name support for Windows NT Hodgson
SF 278 Universal Newline Support Jansen
SF 279 The enumerate() built-in function Hettinger
+ SR 281 Loop Counter Iteration with range and xrange Hetland
SF 282 A Logging System Sajip, Mick
IF 283 Python 2.3 Release Schedule GvR
SF 285 Adding a bool type GvR
@@ -323,7 +323,7 @@
SF 278 Universal Newline Support Jansen
SF 279 The enumerate() built-in function Hettinger
S 280 Optimizing access to globals GvR
- S 281 Loop Counter Iteration with range and xrange Hetland
+ SR 281 Loop Counter Iteration with range and xrange Hetland
SF 282 A Logging System Sajip, Mick
IF 283 Python 2.3 Release Schedule GvR
S 284 Integer for-loops Eppstein, Ewing
Index: pep-0281.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0281.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- pep-0281.txt 11 Feb 2002 16:43:16 -0000 1.1
+++ pep-0281.txt 17 Jun 2005 04:57:07 -0000 1.2
@@ -16,6 +16,19 @@
function indices() from PEP 212 [1] be included in the existing
functions range() and xrange().
+Pronouncement
+
+ In commenting on PEP 279's enumerate() function, this PEP's author
+ offered, "I'm quite happy to have it make PEP 281 obsolete."
+ Subsequently, PEP 279 was accepted into Python 2.3.
+
+ On 17 June 2005, the BDFL concurred with it being obsolete and
+ hereby rejected the PEP. For the record, he found some of the
+ examples to somewhat jarring in appearance:
+
+ >>> range(range(5), range(10), range(2))
+ [5, 7, 9]
+
Motivation
More information about the Python-checkins
mailing list