asyncio.unix_events: Make AbstractChildWatcher abstract, add PidfdChildWatcher (#7412)

This commit is contained in:
Alex Waygood
2022-03-01 15:23:46 +00:00
committed by GitHub
parent 7f2cf525e9
commit fd750bf065
5 changed files with 54 additions and 9 deletions

View File

@@ -3,6 +3,4 @@ _curses.color_pair
curses.color_pair
# Exists at runtime, but missing from stubs
asyncio.PidfdChildWatcher
asyncio.unix_events.PidfdChildWatcher
mmap.MADV_FREE

View File

@@ -1,6 +1,4 @@
_?curses.A_ITALIC
# Exists at runtime, but missing from stubs
asyncio.PidfdChildWatcher
asyncio.unix_events.PidfdChildWatcher
mmap.MADV_FREE

View File

@@ -18,8 +18,6 @@ signal.sigwaitinfo
select.epoll.register
# Exists at runtime, but missing from stubs
asyncio.PidfdChildWatcher
asyncio.unix_events.PidfdChildWatcher
os.EFD_CLOEXEC
os.EFD_NONBLOCK
os.EFD_SEMAPHORE

View File

@@ -2,8 +2,6 @@
select.epoll.register
# Exists at runtime, but missing from stubs
asyncio.PidfdChildWatcher
asyncio.unix_events.PidfdChildWatcher
os.copy_file_range
os.pidfd_open
posix.copy_file_range