Update os and posix to python 3.12 on darwin (#10779)

This commit is contained in:
Nikita Sobolev
2023-09-26 10:46:29 +03:00
committed by GitHub
parent 3f9a3accc8
commit 9f4edca70e
3 changed files with 14 additions and 8 deletions

View File

@@ -122,6 +122,12 @@ if sys.platform == "linux":
GRND_NONBLOCK: int
GRND_RANDOM: int
if sys.platform == "darwin" and sys.version_info >= (3, 12):
PRIO_DARWIN_BG: int
PRIO_DARWIN_NONUI: int
PRIO_DARWIN_PROCESS: int
PRIO_DARWIN_THREAD: int
SEEK_SET: int
SEEK_CUR: int
SEEK_END: int