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 rhettinger
Recipients jcea, josh.r, r.david.murray, rhettinger
Date 2014-06-14.02:18:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1402712296.39.0.610271592478.issue21744@psf.upfronthosting.co.za>
In-reply-to
Content
> I'll leave it to Raymond to decide if it is worth 
> making a special-case optimization :)

Special cases aren't special enough ...  :-)

The itertools are specifically designed to work with general iterators, not just sequences.

> Does anyone think a general sequenceview class would make sense

You could post one on PyPi but I don't think there would be any uptake.  It is often easier to write a simple generator customized to your particular needs than it is to learn and remember a new class to handle an infrequent 
use case.
History
Date User Action Args
2014-06-14 02:18:16rhettingersetrecipients: + rhettinger, jcea, r.david.murray, josh.r
2014-06-14 02:18:16rhettingersetmessageid: <1402712296.39.0.610271592478.issue21744@psf.upfronthosting.co.za>
2014-06-14 02:18:16rhettingerlinkissue21744 messages
2014-06-14 02:18:16rhettingercreate