Iterator slicing?

Martin v. Loewis martin at v.loewis.de
Fri Mar 15 19:40:43 EST 2002


mlh at vier.idi.ntnu.no (Magnus Lie Hetland) writes:

> Or perhaps this is better suited for a specific wrapper in the
> (possibly) upcoming iterator module... Hm.

I would think so. It is also debatable whether an iterator slice
should support indexing, or should be an iterator of its own. I'd say
there are applications for both, so just make them functions.

Regards,
Martin



More information about the Python-list mailing list