summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/ccompiler.py
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2015-05-23 16:02:50 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2015-05-23 16:02:50 (GMT)
commitfd3664be00d8fad7a4f6dc029e92a4f2a6b151ac (patch)
tree915b13e52e64d3228a61e4468074e578cf275a0d /Lib/distutils/ccompiler.py
parent7689154f58c5de65881ef7531379cdf33bbbd1ff (diff)
downloadcpython-fd3664be00d8fad7a4f6dc029e92a4f2a6b151ac.zip
cpython-fd3664be00d8fad7a4f6dc029e92a4f2a6b151ac.tar.gz
cpython-fd3664be00d8fad7a4f6dc029e92a4f2a6b151ac.tar.bz2
Issue #23970: Adds distutils._msvccompiler for new Visual Studio versions.
Diffstat (limited to 'Lib/distutils/ccompiler.py')
-rw-r--r--Lib/distutils/ccompiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/ccompiler.py b/Lib/distutils/ccompiler.py
index 911e84d..b7df394 100644
--- a/Lib/distutils/ccompiler.py
+++ b/Lib/distutils/ccompiler.py
@@ -959,7 +959,7 @@ def get_default_compiler(osname=None, platform=None):
# is assumed to be in the 'distutils' package.)
compiler_class = { 'unix': ('unixccompiler', 'UnixCCompiler',
"standard UNIX-style compiler"),
- 'msvc': ('msvccompiler', 'MSVCCompiler',
+ 'msvc': ('_msvccompiler', 'MSVCCompiler',
"Microsoft Visual C++"),
'cygwin': ('cygwinccompiler', 'CygwinCCompiler',
"Cygwin port of GNU C Compiler for Win32"),