summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2015-03-10 09:56:38 -0700
committerSteve Dower <steve.dower@microsoft.com>2015-03-10 09:56:38 -0700
commit959ee7c200373e77cae445283016f2827147e96a (patch)
treeb21688ceb571104ce3388dddc9d844229d40585f
parente3e56fea2a5cec7546c1cb5dceef53a6deb51107 (diff)
downloadcpython-git-959ee7c200373e77cae445283016f2827147e96a.tar.gz
Issue #23606: Disable ctypes.util.find_library("c") on Windows so tests are skipped while we figure out how best to approach the CRT change
-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 9c19899da5..9e74ccdbcf 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