[Python-Dev] PEP 322: Reverse Iteration

Aahz aahz at pythoncraft.com
Mon Nov 3 15:15:57 EST 2003

On Mon, Nov 03, 2003, Raymond Hettinger wrote:
> The pep has been through several rounds of public comment on
> comp.lang.python.  As a result, the proposal has evolved away from
> several methods called iter_backwards() and into a simple builtin
> function called reversed().  Other simplifications emerged as well.  The
> improved pep is at:
>     www.python.org/sf/pep-0322.html
> Thanks to many posts by Alex, the only issue of significance is avoiding
> having a new builtin. My strong feeling is that the essential simplicity
> and utility of the function would be lost if it got tucked away in some
> other namespace.  The flipside is our common desire to keep the builtin
> namespace as compact as possible.

I'm -1 until the PEP includes this issue, then my vote changes to -0.

(I.e., I generally agree with Alex about the builtin issue, but not
strongly enough to actively oppose this PEP as long as it's properly
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"It is easier to optimize correct code than to correct optimized code."
--Bill Harlan

More information about the Python-Dev mailing list