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 NeilGirdhar
Recipients NeilGirdhar, eric.araujo, rhettinger, serhiy.storchaka
Date 2012-11-23.19:35:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
My suggestion is then to update to have an InfiniteSequence, which inherits from Iterable, and adds abstract methods __getitem__ and mixin methods __iter__.

Then, itertools count, cycle, and repeat could implement, and (for backwards-compatibility).
Date User Action Args
2012-11-23 19:35:32NeilGirdharsetrecipients: + NeilGirdhar, rhettinger, eric.araujo, serhiy.storchaka
2012-11-23 19:35:32NeilGirdharsetmessageid: <>
2012-11-23 19:35:32NeilGirdharlinkissue16540 messages
2012-11-23 19:35:32NeilGirdharcreate