8000 gh-82504: deprecate the MultiLoopChildWatcher by graingert · Pull Request #94648 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-82504: deprecate the MultiLoopChildWatcher #94648

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 16 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
deprecate the MultiLoopChildWatcher
  • Loading branch information
graingert committed Jul 7, 2022
commit 161916cffe4b16f9377998088817ffb6f2545d51
1 change: 1 addition & 0 deletions Doc/library/asyncio-policy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ implementation used by the asyncio event loop:
:py:data:`SIGCHLD` is received).

.. versionadded:: 3.8
.. deprecated:: 3.12

.. class:: SafeChildWatcher

Expand Down
1 change: 1 addition & 0 deletions Lib/asyncio/unix_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -1229,6 +1229,7 @@ class MultiLoopChildWatcher(AbstractChildWatcher):
# but retrieves the current loop by get_running_loop()

def __init__(self):
warnings._deprecated("asyncio.MultiLoopChildWatcher", remove=(3, 14))
self._callbacks = {}
self._saved_sighandler = None

Expand Down
0