Message111196
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]
[] |
|
Date |
User |
Action |
Args |
2010-07-22 17:26:57 | andersk | set | recipients:
+ andersk, georg.brandl, rhettinger, amaury.forgeotdarc, eric.araujo, r.david.murray, ysj.ray |
2010-07-22 17:26:57 | andersk | set | messageid: <1279819617.26.0.324585049541.issue8376@psf.upfronthosting.co.za> |
2010-07-22 17:26:55 | andersk | link | issue8376 messages |
2010-07-22 17:26:54 | andersk | create | |
|