[Python-ideas] Introduce collections.Reiterable

Terry Reedy tjreedy at udel.edu
Thu Sep 19 12:28:19 CEST 2013

On 9/19/2013 4:32 AM, Nick Coghlan wrote:
> (Grr, why is Google Groups so broken? :P)
> My question would be, does the new class add anything that isn't
> already covered by:
>      isinstance(c, Iterable) and not isinstance(c, Iterator)

Not everything in that category is necessarily re-iterable.
Or if it is serially reiterable, it may not be parallel iterable, as 
needed for nested loops.

Terry Jan Reedy

More information about the Python-ideas mailing list