This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author andersk
Recipients amaury.forgeotdarc, andersk, eric.araujo, georg.brandl, r.david.murray, rhettinger, ysj.ray
Date 2010-07-22.17:26:54
SpamBayes Score 0.03015588
Marked as misclassified No
Message-id <1279819617.26.0.324585049541.issue8376@psf.upfronthosting.co.za>
In-reply-to
Content
I don’t think that small change is good enough, if it is still the case that the only provided example is the dangerous one.

It would be easy to clarify the differences between the classes:

>>> rl = test.ReverseList('spam')
>>> [c for c in rl]
['m', 'a', 'p', 's']
>>> [c for c in rl]
['m', 'a', 'p', 's']
>>> ri = iter(rl)
>>> ri
<test.ReverseIterator object at 0x7fa5cbeaec50>
>>> [c for c in ri]
['m', 'a', 'p', 's']
>>> [c for c in ri]
[]
History
Date User Action Args
2010-07-22 17:26:57andersksetrecipients: + andersk, georg.brandl, rhettinger, amaury.forgeotdarc, eric.araujo, r.david.murray, ysj.ray
2010-07-22 17:26:57andersksetmessageid: <1279819617.26.0.324585049541.issue8376@psf.upfronthosting.co.za>
2010-07-22 17:26:55andersklinkissue8376 messages
2010-07-22 17:26:54anderskcreate