[issue11271] concurrent.futures.ProcessPoolExecutor.map() doesn't batch function arguments by chunks

Dan O'Reilly report at bugs.python.org
Tue Aug 12 02:19:17 CEST 2014


Dan O'Reilly added the comment:

A couple of small updates based on comments from Charles-François Natali:

* Use itertools.chain.from_iterable to "yield from" the result chunks instead of a for loop.

* Add more tests with varying chunksizes.

----------
Added file: http://bugs.python.org/file36352/map_chunksize_docs_update.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11271>
_______________________________________


More information about the Python-bugs-list mailing list