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

Dan O'Reilly report at bugs.python.org
Fri Aug 1 01:01:51 CEST 2014


Dan O'Reilly added the comment:

I've attached an updated patch based on your review comments; there's now a unit test with a non-default chunksize, the chunking algorithm is more readable, and the same code path is used no matter what chunksize is provided.

I've also updated the test script to match the implementation changes.

----------
Added file: http://bugs.python.org/file36184/map_chunksize_with_test.patch

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


More information about the Python-bugs-list mailing list