From: "Armin Ronacher" <[EMAIL PROTECTED]>
len(ri)
4
ri.next()
4
len(ri)
3

This is the only reverse iterator with that sort of behavior.

Use the bug tracker please and assign to me.
At one time, some iterators had the ability to know
their own length and that would change as the
iterator got consumed.  Later, it was decided
that iterators should not report length and should
instead report a length hint.  It looks like listreversediterator
got missed when this was changed.


Raymond
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to