From bc3ed283df6e0e08f1211598f5d0708be9250766 Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Sat, 26 Dec 2020 09:01:23 -0600 Subject: [PATCH] ctypes.wintypes can be imported on linux in 3.9.1 (#4858) See https://bugs.python.org/issue16396 Co-authored-by: hauntsaninja <> --- tests/stubtest_whitelists/linux-py36.txt | 1 + tests/stubtest_whitelists/linux-py37.txt | 1 + tests/stubtest_whitelists/linux-py38.txt | 1 + tests/stubtest_whitelists/linux.txt | 1 - 4 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/stubtest_whitelists/linux-py36.txt b/tests/stubtest_whitelists/linux-py36.txt index b5dbc7be2..e7b8e1ede 100644 --- a/tests/stubtest_whitelists/linux-py36.txt +++ b/tests/stubtest_whitelists/linux-py36.txt @@ -1,4 +1,5 @@ asyncio.unix_events._UnixSelectorEventLoop.create_unix_server +ctypes.wintypes pwd.getpwnam ssl.PROTOCOL_SSLv3 ssl.RAND_egd diff --git a/tests/stubtest_whitelists/linux-py37.txt b/tests/stubtest_whitelists/linux-py37.txt index 90d58248c..6754d36e8 100644 --- a/tests/stubtest_whitelists/linux-py37.txt +++ b/tests/stubtest_whitelists/linux-py37.txt @@ -1,3 +1,4 @@ +ctypes.wintypes pwd.getpwnam time.CLOCK_PROF time.CLOCK_UPTIME diff --git a/tests/stubtest_whitelists/linux-py38.txt b/tests/stubtest_whitelists/linux-py38.txt index 10870aeab..3eeef9f7d 100644 --- a/tests/stubtest_whitelists/linux-py38.txt +++ b/tests/stubtest_whitelists/linux-py38.txt @@ -1,3 +1,4 @@ +ctypes.wintypes os.MFD_HUGE_32MB os.MFD_HUGE_512MB time.CLOCK_PROF diff --git a/tests/stubtest_whitelists/linux.txt b/tests/stubtest_whitelists/linux.txt index 6cb63c1db..f5c4569d5 100644 --- a/tests/stubtest_whitelists/linux.txt +++ b/tests/stubtest_whitelists/linux.txt @@ -38,7 +38,6 @@ _msi _winapi asyncio.windows_events asyncio.windows_utils -ctypes.wintypes msilib(.[a-z]+)? msvcrt winreg