Message356567
> > 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.
> +1
Also, adding to this, the child watchers are one of the least used components of asyncio's public API. So, I think the deprecation and removal cost will be fairly minimal. See the GitHub code usage (includes exact copies of Lib/asyncio/unix_events.py, so there's some redundancy):
MultiLoopChildWatcher: https://github.com/search?l=Python&q=MultiLoopChildWatcher&type=Code (20 results, just added in 3.8)
ThreadedChildWatcher: https://github.com/search?l=Python&q=ThreadedChildWatcher&type=Code (77 results, default unix child watcher, rarely used explicitly)
FastChildWatcher: https://github.com/search?l=Python&q=FastChildWatcher&type=Code (4,426 results)
SafeChildWatcher: https://github.com/search?l=Python&q=SafeChildWatcher&type=Code (7,007 results)
All of asyncio usage: https://github.com/search?l=Python&q=asyncio&type=Code (599,131 results) |
|
Date |
User |
Action |
Args |
2019-11-13 23:36:39 | aeros | set | recipients:
+ aeros, vstinner, benjamin.peterson, njs, asvetlov, yselivanov, yan12125, nanjekyejoannah |
2019-11-13 23:36:39 | aeros | set | messageid: <1573688199.22.0.246258634868.issue38692@roundup.psfhosted.org> |
2019-11-13 23:36:39 | aeros | link | issue38692 messages |
2019-11-13 23:36:38 | aeros | create | |
|