New submission from Hynek Schlawack <h...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue12708>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to