[New-bugs-announce] [issue12708] multiprocessing.Pool is missing a starmap[_async]() method.

Hynek Schlawack report at bugs.python.org
Mon Aug 8 10:21:46 CEST 2011

New submission from Hynek Schlawack <hs at ox.cx>:

After I've seen a co-worker to unpack tuples while using multiprocessing.Pool.map(), I realized that the module is missing a starmap() method like itertools has.

I took it as a opportunity to contribute some code and implemented both starmap() and starmap_async().

The patch including tests is attached, please let me know, what you think. Please don't call me names, it's my first patch for such a high profile project like Python. ;)

components: Library (Lib)
files: mp-starmap.diff
keywords: patch
messages: 141761
nosy: hynek, jnoller
priority: normal
severity: normal
status: open
title: multiprocessing.Pool is missing a starmap[_async]() method.
type: feature request
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file22859/mp-starmap.diff

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list