Message294968
This problem also happens simply by calling sys.exit from one of the child processes.
The following script exhibits the problem:
import multiprocessing
import sys
def test(value):
if value:
sys.exit(123)
if __name__ == '__main__':
pool = multiprocessing.Pool(4)
cases = [0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0]
pool.map(test, cases) |
|
Date |
User |
Action |
Args |
2017-06-01 20:53:39 | Francis Bolduc | set | recipients:
+ Francis Bolduc, pitrou, jnoller, cvrebert, sbt, dan.oreilly, davin, brianboonstra |
2017-06-01 20:53:39 | Francis Bolduc | set | messageid: <1496350419.74.0.199245544562.issue22393@psf.upfronthosting.co.za> |
2017-06-01 20:53:39 | Francis Bolduc | link | issue22393 messages |
2017-06-01 20:53:39 | Francis Bolduc | create | |
|