Marc 'BlackJack' Rintsch wrote:
A pity, imvho. Though I can live with islice() even if it is not as powerful as the [:] notation.Indeed. Would it be a sensible proposal that sequence slices should return an iterator instead of a list?I don't think so as that would break tons of code that relies on the current behavior. Take a look at `itertools.islice()` if you want/need an iterator.
RB -- http://mail.python.org/mailman/listinfo/python-list