Message111198
Why do you call this "dangerous"? because the object can be iterated only once? But reversed() does the same thing.
And all iterators objects must also implement the __iter__ method that return themselves, otherwise they cannot be used in a for loop.
Better start with such an object. |
|
Date |
User |
Action |
Args |
2010-07-22 17:40:54 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, georg.brandl, rhettinger, pitrou, eric.araujo, r.david.murray, ysj.ray, andersk |
2010-07-22 17:40:54 | amaury.forgeotdarc | set | messageid: <1279820454.65.0.314700374951.issue8376@psf.upfronthosting.co.za> |
2010-07-22 17:40:52 | amaury.forgeotdarc | link | issue8376 messages |
2010-07-22 17:40:52 | amaury.forgeotdarc | create | |
|