Message220524
> 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. |
|
Date |
User |
Action |
Args |
2014-06-14 02:18:16 | rhettinger | set | recipients:
+ rhettinger, jcea, r.david.murray, josh.r |
2014-06-14 02:18:16 | rhettinger | set | messageid: <1402712296.39.0.610271592478.issue21744@psf.upfronthosting.co.za> |
2014-06-14 02:18:16 | rhettinger | link | issue21744 messages |
2014-06-14 02:18:16 | rhettinger | create | |
|