This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 Francis Bolduc
收信人 Francis Bolduc, brianboonstra, cvrebert, dan.oreilly, davin, jnoller, pitrou, sbt
日期 2017-06-01.20:53:39
SpamBayes Score -1.0
Marked as misclassified
Message-id <1496350419.74.0.199245544562.issue22393@psf.upfronthosting.co.za>
In-reply-to
内容
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)
历史
日期 用户 动作 参数
2017-06-01 20:53:39Francis Bolduc修改recipients: + Francis Bolduc, pitrou, jnoller, cvrebert, sbt, dan.oreilly, davin, brianboonstra
2017-06-01 20:53:39Francis Bolduc修改messageid: <1496350419.74.0.199245544562.issue22393@psf.upfronthosting.co.za>
2017-06-01 20:53:39Francis Bolduc链接issue22393 messages
2017-06-01 20:53:39Francis Bolduc创建