Add os.setns for Linux on Python 3.12+ (#10789)

This commit is contained in:
Amin Alaee
2023-09-28 13:53:25 +02:00
committed by GitHub
parent c6161f7108
commit ac4f4a4c94
3 changed files with 2 additions and 1 deletions

View File

@@ -344,6 +344,7 @@ if sys.platform != "win32":
CLONE_SYSVSEM as CLONE_SYSVSEM,
CLONE_THREAD as CLONE_THREAD,
CLONE_VM as CLONE_VM,
setns as setns,
unshare as unshare,
)