[issue38692] add a pidfd child process watcher

Andrew Svetlov report at bugs.python.org
Tue Nov 5 05:35:29 EST 2019


Andrew Svetlov <andrew.svetlov at gmail.com> added the comment:

Awesome!

I think the patch can be splitted in os.pidfd_open() and asyncio part itself.

os modification is clear.

asyncio part looks correct after the brief view. 
My the main question is: how to detect if the new watcher can be used or asyncio should fallback to threaded based solution?

----------

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


More information about the Python-bugs-list mailing list