[Python-ideas] Introduce collections.Reiterable

Neil Girdhar mistersheik at gmail.com
Thu Sep 19 11:40:26 CEST 2013

Yes, I see that now (with Antoine's code as well).  Sorry that it wasn't
clear to me earlier.

On Thu, Sep 19, 2013 at 5:38 AM, Masklinn <masklinn at masklinn.net> wrote:

> On 2013-09-19, at 11:23 , Neil Girdhar wrote:
> > No, not things which are iterable but not iterators, things which are
> > *reiterable* rather than merely iterable.  That is, things that can be
> > iterated multiple times without the generated elements disappearing.
> The point Nick is trying to bring across is that "iterable but not an
> iterator" seems to do *exactly* what you ask for: you can get multiple
> independent iterators out of it, and thus you can iterate it multiple
> times without the generated elements disappearing.
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> --
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "python-ideas" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/python-ideas/OumiLGDwRWA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> python-ideas+unsubscribe at googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130919/67ed0b63/attachment.html>

More information about the Python-ideas mailing list