diff options
author | Steve Dower <steve.dower@microsoft.com> | 2015-03-10 09:56:38 -0700 |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2015-03-10 09:56:38 -0700 |
commit | 959ee7c200373e77cae445283016f2827147e96a (patch) | |
tree | b21688ceb571104ce3388dddc9d844229d40585f | |
parent | e3e56fea2a5cec7546c1cb5dceef53a6deb51107 (diff) | |
download | cpython-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.py | 4 |
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 |