Antoine Pitrou added the comment: > Python 3.7 got as new os.register_at_fork() function. I don't know if it > could help:
The most reasonable IMHO would be for it to mark the event loop "broken" (or closed?) in the child, to forbid any further use. By the way, on Python 3 (which is pretty much required by asyncio), I really suggest using the "forkserver" method of multiprocessing, it removes a ton of hassle with inheritance through forking. ---------- nosy: +pitrou _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21998> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com