消息 [351594]
Imitation repro:
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]))
Obviously a process may crash for various other reasons besides os._exit().
I believe this is the cause of issue37245. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2019-09-10 08:58:29 | steve.dower | 修改 | recipients:
+ steve.dower, pitrou, davin |
| 2019-09-10 08:58:29 | steve.dower | 修改 | messageid: <1568105909.03.0.686404819271.issue38084@roundup.psfhosted.org> |
| 2019-09-10 08:58:28 | steve.dower | 链接 | issue38084 messages |
| 2019-09-10 08:58:28 | steve.dower | 创建 | |
|