Commit Graph

17 Commits

Author SHA1 Message Date
Raymond Hettinger 82963ef0a0 Record conditional acceptance of the PEP 2003-11-06 12:22:37 +00:00
Guido van Rossum d21c2362e1 Remove vestigial reference to __reversed__. 2003-11-06 05:32:14 +00:00
Raymond Hettinger f2ac224b3f Take the __reversed__ protocol out of the pep.
It's champions can argue their case elsewhere.
Good luck to them.
2003-11-06 03:27:22 +00:00
Raymond Hettinger d0908a58f4 Record Jeremy Fincher's naming suggestion. 2003-11-05 00:19:06 +00:00
Raymond Hettinger cfec7a1e79 Aahz requested that the principal objection be clearly identified. 2003-11-03 21:31:53 +00:00
Raymond Hettinger 2aa6c861f6 Remove the revrange() proposal. 2003-11-03 17:56:40 +00:00
Raymond Hettinger 1ae49ce2cc Three PEP updates:
* Correct the pure python implementation.
* Link to an implementation patch on SF.
* Remove the proposed application of __reverse__ to enumerate().
2003-11-02 07:12:04 +00:00
Raymond Hettinger a232b370a0 Update PEP based on discussion on comp.lang.python:
* reversed() is being preferred to ireverse() as the best name.

* the sample implementation now shows a check for a custom reverse
  method and a guard against being applied to a mapping.

* added sample output for enumerate.__reversed__ to show an example of
  how a custom reverse method would work

* explained why the function is proposed as a builtin.

* expanded a couple for the real world use cases to show what the
  replacement code would look like.

* improved markup so that the function names get italicized.
2003-10-30 07:41:20 +00:00
Raymond Hettinger f7f0a4d4ea No one likes the name inreverse(). 2003-10-28 22:39:22 +00:00
Raymond Hettinger e680cb67de The alternative builtin needed a better name. 2003-10-28 21:21:31 +00:00
Raymond Hettinger 6f412ebc5e Offer the community a choice for a simpler, limited alternative. 2003-10-28 20:40:56 +00:00
Raymond Hettinger 26733836c2 Update the reverse iteration pep to reflect comments from comp.lang.python,
from Guido, and from some on python-dev.
2003-10-28 10:16:32 +00:00
Raymond Hettinger cec064b24f * Rename the proposed method to "iterreverse"
* Make recommendations on the open issues.
* Minor wording changes.
2003-09-28 02:43:37 +00:00
Raymond Hettinger 34893b2b2a Rename the proposal to ireverse(). 2003-09-26 16:09:54 +00:00
Raymond Hettinger c0b44583ab Fix typos. 2003-09-26 03:07:56 +00:00
Raymond Hettinger 996d620420 Updated to reflect comments on comp.lang.python. 2003-09-25 16:18:28 +00:00
Raymond Hettinger 0876789232 Add a new PEP for reverse iteration methods 2003-09-24 10:30:08 +00:00