[Python-Dev] Re: Single- vs. Multi-pass iterability

Tim Peters tim@zope.com
Thu, 18 Jul 2002 18:26:47 -0400

> What about:
>     "...sequences.  Note that the act of looking at an iterator's
>     elements mutates the iterator."

That doesn't belong in the spec either -- nothing requires an iterator to
have mutable state, let alone to mutate it when next() is called.