[Python-ideas] Introduce collections.Reiterable

Terry Reedy tjreedy at udel.edu
Sun Sep 22 00:31:50 CEST 2013


On 9/21/2013 5:14 PM, Neil Girdhar wrote:

> If you really think that there will never be a non-reiterable
> non-iterator iterable,

I already posted a sensible non-iterator iterable that is no more 
reiterable than an iterator. I expect that there are examples in the 
wild.  If nothing else, there are probably some written before the new 
iterator protocol was added. These are explicitly supported.

-- 
Terry Jan Reedy



More information about the Python-ideas mailing list