Steve Dower <steve.do...@python.org> added the comment:

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]))

----------
nosy: +davin, pitrou

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37245>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to