We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
is_active
1 parent 6e63d84 commit ef3c400Copy full SHA for ef3c400
Lib/asyncio/unix_events.py
@@ -867,9 +867,6 @@ class _PidfdChildWatcher:
867
recent (5.3+) kernels.
868
"""
869
870
- def is_active(self):
871
- return True
872
-
873
def add_child_handler(self, pid, callback, *args):
874
loop = events.get_running_loop()
875
pidfd = os.pidfd_open(pid)
@@ -911,9 +908,6 @@ def __init__(self):
911
908
self._pid_counter = itertools.count(0)
912
909
self._threads = {}
913
910
914
915
916
917
def __del__(self, _warn=warnings.warn):
918
threads = [thread for thread in list(self._threads.values())
919
if thread.is_alive()]
0 commit comments