How about adding slice notation to iterators/generators?

Steven D'Aprano steven at REMOVE.THIS.cybersource.com.au
Tue Oct 27 08:58:29 CET 2009


On Mon, 26 Oct 2009 09:51:11 -0700, Anh Hai Trinh wrote:

> I've written something that is better than you could've imagine.
> 
> Get it here: <http://github.com/aht/stream.py>
> 
> It works with anything iterable, no need to alter anything.


Looks nice. In my Copious Spare Time I will try to look at it.


-- 
Steven



More information about the Python-list mailing list