[New-bugs-announce] [issue33688] asyncio child watchers aren't fork friendly

Yury Selivanov report at bugs.python.org
Tue May 29 18:45:03 EDT 2018


New submission from Yury Selivanov <yselivanov at gmail.com>:

_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.

[1] https://github.com/1st1/cpython/commit/b4e6b26c565d9417a6f57a794a4669d7a7eeae88

----------
components: asyncio
messages: 318133
nosy: asvetlov, yselivanov
priority: normal
severity: normal
status: open
title: asyncio child watchers aren't fork friendly
versions: Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33688>
_______________________________________


More information about the New-bugs-announce mailing list