George Sakkis wrote: >> don't confuse things like lists and dictionaries with things like >> sequences and mappings. iterators and iterables belong to the second >> category. > > This doesn't answer my last question: why do we need itertools when we > can live without sequencetools, mappingtools, fileliketools, etc. ?
try listing the sequence and mapping and file tools that Python actually provides, and look at how they're used in contemporary Python code. do you see a pattern ? </F> _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com