Yury Selivanov <yseliva...@gmail.com> added the comment:

We can merge this PR as is (Benjamin, thanks for working on this!), but I think 
that as soon as we merge it we should do some refactoring and deprecations.

The child watchers API has to go. It's confusing, painful to use, it's not 
compatible with third-party event loops. It increases the API surface without 
providing us with enough benefits.

What I propose:

* merge this watcher and try to use it as the default on modern Linuxes.  We 
don't document it.

* deprecate add_child_watcher and all child watcher classes in 3.9. Aim for 
removal in 3.11.  

In 3.9 we will use kqueue / pidfd / threads / winapis -- whatever is available, 
but we never use SIGCHLD by default.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38692>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to