[Python-Dev] Adding concat function to itertools

Raymond Hettinger python at rcn.com
Fri Sep 28 19:45:19 CEST 2007


[Bruce Frederiksen]
>>  I've added a new function to itertools called 'concat'.  This function is
>> much like chain, but takes all of the iterables as a single argument.

Any practical use cases or is this just a theoretical improvement?

For Py2.x, I'm not willing to unnecessarily expand the module.
However, for Py3k, I'm open to changing the signature for chain().


Raymond


More information about the Python-Dev mailing list