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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, andersk, eric.araujo, georg.brandl, pitrou, r.david.murray, rhettinger, ysj.ray
Date 2010-07-22.17:40:52
SpamBayes Score 0.04150451
Marked as misclassified No
Message-id <1279820454.65.0.314700374951.issue8376@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-07-22 17:40:54amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, georg.brandl, rhettinger, pitrou, eric.araujo, r.david.murray, ysj.ray, andersk
2010-07-22 17:40:54amaury.forgeotdarcsetmessageid: <1279820454.65.0.314700374951.issue8376@psf.upfronthosting.co.za>
2010-07-22 17:40:52amaury.forgeotdarclinkissue8376 messages
2010-07-22 17:40:52amaury.forgeotdarccreate