Record the rejection of PEP 281.

This commit is contained in:
Raymond Hettinger 2005-06-17 04:57:07 +00:00
parent b052f52afd
commit 15af1ad96b
2 changed files with 15 additions and 2 deletions

View File

@ -86,7 +86,6 @@ Index by Category
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 @@ Index by Category
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 @@ Numerical Index
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

View File

@ -16,6 +16,19 @@ Abstract
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