summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/ctypes/util.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/ctypes/util.py b/Lib/ctypes/util.py
index 9c19899..9e74ccd 100644
--- a/Lib/ctypes/util.py
+++ b/Lib/ctypes/util.py
@@ -41,7 +41,9 @@ if os.name == "nt":
elif version <= 13:
clibname = 'msvcr%d' % (version * 10)
else:
- clibname = 'appcrt%d' % (version * 10)
+ # CRT is no longer directly loadable. See issue23606 for the
+ # discussion about alternative approaches.
+ return None
# If python was built with in debug mode
import importlib.machinery