Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion stubs/psutil/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "7.2.1"
version = "7.2.2"
upstream_repository = "https://github.com/giampaolo/psutil"

[tool.stubtest]
Expand Down
9 changes: 7 additions & 2 deletions stubs/psutil/psutil/_psposix.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,21 @@ class Negsignal(enum.IntEnum):
SIGSTKFLT = -16

def negsig_to_enum(num: int) -> int: ...
def wait_pid(
def convert_exit_code(status: int) -> int: ...
def wait_pid_posix(
pid: int,
timeout: float | None = None,
proc_name: str | None = None,
_waitpid: Unused = ...,
_timer: Callable[[], float] = ...,
_min: Callable[..., Incomplete] = ...,
_sleep: Callable[[float], None] = ...,
_pid_exists: Callable[[int], bool] = ...,
) -> int | None: ...
def wait_pid_pidfd_open(pid: int, timeout: float | None = None) -> int | None: ...
def wait_pid_kqueue(pid: int, timeout: float | None = None) -> int | None: ...
def can_use_pidfd_open() -> bool: ...
def can_use_kqueue() -> bool: ...
def wait_pid(pid: int, timeout: float | None = None) -> int | None: ...

if sys.platform == "darwin":
def disk_usage(path: StrOrBytesPath) -> ntp.sdiskusage: ...
Expand Down