Title: asyncio child watchers aren't fork friendly
Type: Stage:
Components: asyncio Versions: Python 3.8, Python 3.7
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: asvetlov, yselivanov, zmedico
Priority: normal Keywords:

Created on 2018-05-29 22:45 by yselivanov, last changed 2018-05-29 22:56 by zmedico.

Messages (1)
msg318133 - (view) Author: Yury Selivanov (yselivanov) * (Python committer) Date: 2018-05-29 22:45
_UnixDefaultEventLoopPolicy doesn't detect fork and tries to re-use the inherited child watcher. [1] is my idea how to fix this.

Andrew, AFAIK subprocesses was something that you worked on at some point. Do you have time to look into this?  Need tests and I'm not sure if I got [1] quite right.

This probably won't make it to 3.7.0, but 3.7.1 seems like a good target.

Date User Action Args
2018-05-29 22:56:08zmedicosetnosy: + zmedico
2018-05-29 22:45:03yselivanovcreate