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.

作者 steve.dower
收信人 aeros, davin, ned.deily, pitrou, ronaldoussoren, steve.dower, vstinner
日期 2019-09-09.16:43:50
SpamBayes Score -1.0
Marked as misclassified
Message-id <1568047431.36.0.855988411428.issue37245@roundup.psfhosted.org>
In-reply-to
内容
I suspect this code is a repro - it certainly locks up the host process reliably enough.

Perhaps if we unblock multiprocessing in the context of a crashed worker then it'll show what the underlying errors are?


import os
from multiprocessing import Pool

def f(x):
    os._exit(0)
    return "success"

if __name__ == '__main__':
    with Pool(1) as p:
        print(p.map(f, [1]))
历史
日期 用户 动作 参数
2019-09-09 16:43:51steve.dower修改recipients: + steve.dower, ronaldoussoren, pitrou, vstinner, ned.deily, davin, aeros
2019-09-09 16:43:51steve.dower修改messageid: <1568047431.36.0.855988411428.issue37245@roundup.psfhosted.org>
2019-09-09 16:43:51steve.dower链接issue37245 messages
2019-09-09 16:43:50steve.dower创建