[Python-3000] Python-3000 Digest, Vol 9, Issue 27

Fredrik Lundh fredrik at pythonware.com
Tue Nov 14 16:54:10 CET 2006


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> 





More information about the Python-3000 mailing list