[issue19425] multiprocessing.Pool.map hangs if pickling argument raises an exception

2013-10-28 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue19425] multiprocessing.Pool.map hangs if pickling argument raises an exception

2013-10-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6aa42fc0c2f6 by Richard Oudkerk in branch '2.7': Issue #19425 -- a pickling error should not cause pool to hang. http://hg.python.org/cpython/rev/6aa42fc0c2f6 New changeset a2230a8420a5 by Richard Oudkerk in branch '3.3': Issue #19425 -- a pickling

[issue19425] multiprocessing.Pool.map hangs if pickling argument raises an exception

2013-10-28 Thread Nadeem Vawda
New submission from Nadeem Vawda: [Split off from issue 19395] The following code hangs after hitting a TypeError trying to pickle one of the TextIOWrapper objects: import multiprocessing def read(f): return f.read() files = [open(path) for path in 3 * ['/dev/null']] pool = mu