消息 [351528]
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:51 | steve.dower | 修改 | recipients:
+ steve.dower, ronaldoussoren, pitrou, vstinner, ned.deily, davin, aeros |
| 2019-09-09 16:43:51 | steve.dower | 修改 | messageid: <1568047431.36.0.855988411428.issue37245@roundup.psfhosted.org> |
| 2019-09-09 16:43:51 | steve.dower | 链接 | issue37245 messages |
| 2019-09-09 16:43:50 | steve.dower | 创建 | |
|