GH-120804: Remove `get_child_watcher` and `set_child_watcher` from asyncio by kumaraditya303 · Pull Request #120818 · python/cpython · GitHub
Skip to content

GH-120804: Remove get_child_watcher and set_child_watcher from asyncio - #120818

Merged
kumaraditya303 merged 3 commits into
python:mainfrom
kumaraditya303:watcher
Jun 23, 2024
Merged

GH-120804: Remove get_child_watcher and set_child_watcher from asyncio#120818
kumaraditya303 merged 3 commits into
python:mainfrom
kumaraditya303:watcher

Conversation

@kumaraditya303

@kumaraditya303 kumaraditya303 commented Jun 21, 2024

Copy link
Copy Markdown
Contributor

This PR removes get_child_watcher and set_child_watcher from asyncio. At some place currently we directly write to policy._watcher as there are no apis to do that for testing. This is temporary and will change in subsequent PRs when subprocesses will be rewritten to not use child watchers at all and then this "hack" will become unnecessary and be removed.

@kumaraditya303
kumaraditya303 merged commit 96ead91 into python:main Jun 23, 2024
@kumaraditya303
kumaraditya303 deleted the watcher branch June 23, 2024 04:23
@bedevere-bot

Copy link
Copy Markdown

mrahtz pushed a commit to mrahtz/cpython that referenced this pull request Jun 30, 2024
noahbkim pushed a commit to hudson-trading/cpython that referenced this pull request Jul 11, 2024
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants