Comment on PEP-0322: Reverse Iteration Methods

David Abrahams dave at
Sat Sep 27 02:46:17 CEST 2003

"Sean Ross" <sross at> writes:

> "David Eppstein" <eppstein at> wrote in message
> news:eppstein-AF4213.10592426092003 at
>> Your proposed name has an implication for the semantics.
> Do the implied semantics of ireverse() differ from those implied by the
> names iter_backwards(), reverse_view(), riter(), etc.?
> Because, to me, they' re just different words for the same idea.

Well, the only other place we have an 'i' prefix on a function name,
AFAIK, it means "inplace".  I don't mind riter(); it has a nice
resonance with rbegin() in C++.

Dave Abrahams
Boost Consulting

More information about the Python-list mailing list