> From: Delaney, Timothy [mailto:tdelaney@avaya.com]
>
> if iter(x) == iter(x):
> # this is *definitely* a single-pass iterable
Of course, that should have been
if iter(x) is iter(x):
# this is *definitely* a single-pass iterable
Too much damned Java at the moment :(
Tim Delaney