[issue27873] multiprocessing.pool.Pool.map should take more than one iterable
Jason Yu
report at bugs.python.org
Fri Aug 26 19:15:50 EDT 2016
New submission from Jason Yu:
Hello all,
The official doc describes `Pool.map(func, iterable[, chunksize])` as "A parallel equivalent of the map() built-in function.".
Since the function signature of `map` is `map(function, iterable, ...)`, I hereby suggest that `Pool.map` should change its function signature to `Pool.map(function, iterable, ... [, chunksize])`. This will bring true equivalent to these functions.
Tell me what you think.
Pool.map: https://docs.python.org/3/library/multiprocessing.html#multiprocessing.pool.Pool.map
map: https://docs.python.org/3/library/functions.html#map
Jason
----------
components: Interpreter Core
messages: 273741
nosy: Jason Yu
priority: normal
severity: normal
status: open
title: multiprocessing.pool.Pool.map should take more than one iterable
type: enhancement
versions: Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue27873>
_______________________________________
More information about the Python-bugs-list
mailing list