Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:

> In <[EMAIL PROTECTED]>, skip wrote:
> 
>> Are you sure?  There's no guarantee that an iterator will terminate:
>> 
>>     len(list(itertools.cycle(range(10))))
> 
> You have infinite memory?  ;-)

Strangely, Skip's example is exactly the one I tested before posting my 
claim that it would terminate.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to