[Python-ideas] Consider making enumerate a sequence if its argument is a sequence
Random832
random832 at fastmail.com
Thu Oct 1 07:45:11 CEST 2015
Akira Li <4kir4.1i at gmail.com> writes:
> I don't remember ever using "non-iterator iterable". "non-iterator
> iterable" does not qualify as more specific. You need to introduce new
> requirements to the type for that.
The question is, how do you *simply* state the very common requirement
for an iterable to not behave in a specific undesirable way that all
iterators do, and that it is very uncommon for any iterable other than
an iterator to do? Are you opposed to having a word for this concept at
all, or do you just not like the terms other people are suggesting?
More information about the Python-ideas
mailing list