Make os.setresuid and os.setresgid positional-only (#10791)

This commit is contained in:
Amin Alaee
2023-09-28 11:10:21 +02:00
committed by GitHub
parent 4dad5311d5
commit 99ce091f17
4 changed files with 2 additions and 8 deletions

View File

@@ -498,8 +498,8 @@ if sys.platform != "win32":
def setpgid(__pid: int, __pgrp: int) -> None: ...
def setregid(__rgid: int, __egid: int) -> None: ...
if sys.platform != "darwin":
def setresgid(rgid: int, egid: int, sgid: int) -> None: ...
def setresuid(ruid: int, euid: int, suid: int) -> None: ...
def setresgid(__rgid: int, __egid: int, __sgid: int) -> None: ...
def setresuid(__ruid: int, __euid: int, __suid: int) -> None: ...
def setreuid(__ruid: int, __euid: int) -> None: ...
def getsid(__pid: int) -> int: ...

View File

@@ -1,6 +1,4 @@
_?curses.color_pair
(os|posix).setresgid
(os|posix).setresuid
(os|posix).sendfile
signal.sigtimedwait
signal.sigwaitinfo

View File

@@ -1,7 +1,5 @@
_?curses.color_pair
mmap.MAP_STACK
(os|posix).setresgid
(os|posix).setresuid
(os|posix).sendfile
signal.sigtimedwait
signal.sigwaitinfo

View File

@@ -2,8 +2,6 @@ _?curses.color_pair
_posixsubprocess.fork_exec
(os|posix).sendfile
(os|posix).setns
(os|posix).setresgid
(os|posix).setresuid
mmap.MAP_STACK
resource.prlimit
signal.sigtimedwait