From: Steve Dower Date: Tue, 10 Mar 2015 16:56:38 +0000 (-0700) Subject: Issue #23606: Disable ctypes.util.find_library("c") on Windows so tests are skipped... X-Git-Tag: v3.5.0a3~209 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=959ee7c200373e77cae445283016f2827147e96a;p=thirdparty%2FPython%2Fcpython.git 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 --- diff --git a/Lib/ctypes/util.py b/Lib/ctypes/util.py index 9c19899da570..9e74ccdbcf40 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