[issue23051] multiprocessing.pool methods imap()[_unordered()] deadlock

Davin Potts report at bugs.python.org
Tue Feb 24 05:53:59 CET 2015


Davin Potts added the comment:

Attaching updated patch files that combine both Alon's fix with unit tests for it.  Review of the unit tests especially would be welcomed.

My one misgiving about these unit tests is that if at some future date there were a regression, the unhandled issue would potentially cause this unit test to hang -- it would be nicer if that did not have to be so.

These two combined patches (one for default/3.5 and 3.4, one for 2.7) have been tested on OS X 10.10, Ubuntu Linux 12.04.5 64-bit, and Windows 7 64-bit (though only for the default/3.5 and 3.4 patch on Win7).

----------
Added file: http://bugs.python.org/file38220/issue_23051_fix_and_tests_v35_and_v34.patch

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


More information about the Python-bugs-list mailing list