]> granicus.if.org Git - python/commitdiff
Issue #23606: Disable ctypes.util.find_library("c") on Windows so tests are skipped...
authorSteve Dower <steve.dower@microsoft.com>
Tue, 10 Mar 2015 16:56:38 +0000 (09:56 -0700)
committerSteve Dower <steve.dower@microsoft.com>
Tue, 10 Mar 2015 16:56:38 +0000 (09:56 -0700)
Lib/ctypes/util.py

index 9c19899da570be1b6685aca5b6b1da57f8122ab5..9e74ccdbcf40d720957c82188aa2c338876eee64 100644 (file)
@@ -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