@@ -160,6 +160,8 @@ __all__ = [
160160 "walk" ,
161161 "write" ,
162162]
163+ if sys .version_info >= (3 , 14 ):
164+ __all__ += ["readinto" ]
163165if sys .platform == "darwin" and sys .version_info >= (3 , 12 ):
164166 __all__ += ["PRIO_DARWIN_BG" , "PRIO_DARWIN_NONUI" , "PRIO_DARWIN_PROCESS" , "PRIO_DARWIN_THREAD" ]
165167if sys .platform == "darwin" and sys .version_info >= (3 , 10 ):
@@ -208,6 +210,8 @@ if sys.platform == "linux":
208210 "removexattr" ,
209211 "setxattr" ,
210212 ]
213+ if sys .platform == "linux" and sys .version_info >= (3 , 14 ):
214+ __all__ += ["SCHED_DEADLINE" , "SCHED_NORMAL" ]
211215if sys .platform == "linux" and sys .version_info >= (3 , 13 ):
212216 __all__ += [
213217 "POSIX_SPAWN_CLOSEFROM" ,
@@ -570,6 +574,10 @@ if sys.platform == "linux":
570574 SCHED_IDLE : int
571575 SCHED_RESET_ON_FORK : int
572576
577+ if sys .version_info >= (3 , 14 ) and sys .platform == "linux" :
578+ SCHED_DEADLINE : int
579+ SCHED_NORMAL : int
580+
573581if sys .platform != "win32" :
574582 RTLD_LAZY : int
575583 RTLD_NOW : int
@@ -1149,6 +1157,9 @@ if sys.platform != "win32":
11491157 def readv (fd : int , buffers : SupportsLenAndGetItem [WriteableBuffer ], / ) -> int : ...
11501158 def writev (fd : int , buffers : SupportsLenAndGetItem [ReadableBuffer ], / ) -> int : ...
11511159
1160+ if sys .version_info >= (3 , 14 ):
1161+ def readinto (fd : int , buffer : ReadableBuffer , / ) -> int : ...
1162+
11521163@final
11531164class terminal_size (structseq [int ], tuple [int , int ]):
11541165 if sys .version_info >= (3 , 10 ):
0 commit comments