Author Francis Bolduc
Recipients Francis Bolduc, brianboonstra, cvrebert, dan.oreilly, davin, jnoller, pitrou, sbt
Date 2017-06-01.20:53:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1496350419.74.0.199245544562.issue22393@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2017-06-01 20:53:39Francis Bolducsetrecipients: + Francis Bolduc, pitrou, jnoller, cvrebert, sbt, dan.oreilly, davin, brianboonstra
2017-06-01 20:53:39Francis Bolducsetmessageid: <1496350419.74.0.199245544562.issue22393@psf.upfronthosting.co.za>
2017-06-01 20:53:39Francis Bolduclinkissue22393 messages
2017-06-01 20:53:39Francis Bolduccreate