[Python-ideas] Aid reiteration with new class: gfic

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Jun 20 07:59:51 CEST 2009


John Graham wrote:

> Hrm, that leads to the question, is it mathematically possible to 
> iterate over an infinite list... twice? :)

Sure, as long as you don't insist on finishing the
first iteration before starting the second one...

And it takes exactly the same amount of time as
doing it once. :-)

-- 
Greg



More information about the Python-ideas mailing list