[Python-checkins] cpython: Issue #23606: Disable ctypes.util.find_library("c") on Windows so tests are
steve.dower
python-checkins at python.org
Tue Mar 10 17:58:48 CET 2015
https://hg.python.org/cpython/rev/86c9ef950288
changeset: 94932:86c9ef950288
user: Steve Dower <steve.dower at microsoft.com>
date: Tue Mar 10 09:56:38 2015 -0700
summary:
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
files:
Lib/ctypes/util.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Lib/ctypes/util.py b/Lib/ctypes/util.py
--- a/Lib/ctypes/util.py
+++ b/Lib/ctypes/util.py
@@ -41,7 +41,9 @@
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
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list