Add missing posix functions for 3.13 (#12375)

This commit is contained in:
Max Muoto
2024-07-20 14:26:35 -05:00
committed by GitHub
parent fa0c14fa33
commit 304b8e9626
4 changed files with 9 additions and 16 deletions

View File

@@ -236,6 +236,9 @@ if sys.platform != "win32":
if sys.version_info >= (3, 11):
from os import login_tty as login_tty
if sys.version_info >= (3, 13):
from os import grantpt as grantpt, posix_openpt as posix_openpt, ptsname as ptsname, unlockpt as unlockpt
if sys.platform != "linux":
from os import chflags as chflags, lchflags as lchflags, lchmod as lchmod