Message297207
> 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. |
|
Date |
User |
Action |
Args |
2017-06-28 19:02:16 | pitrou | set | recipients:
+ pitrou, gvanrossum, vstinner, christian.heimes, neologix, yselivanov, Adam.Bishop, martius, Christian H |
2017-06-28 19:02:16 | pitrou | set | messageid: <1498676536.13.0.073721516389.issue21998@psf.upfronthosting.co.za> |
2017-06-28 19:02:16 | pitrou | link | issue21998 messages |
2017-06-28 19:02:15 | pitrou | create | |
|