|
- diff -Naur Python-3.8.0-orig/Lib/distutils/msvc9compiler.py Python-3.8.0/Lib/distutils/msvc9compiler.py
- --- Python-3.8.0-orig/Lib/distutils/msvc9compiler.py 2019-10-14 16:34:47.000000000 +0300
- +++ Python-3.8.0/Lib/distutils/msvc9compiler.py 2019-10-22 10:05:17.120393700 +0300
- @@ -292,8 +292,6 @@
-
- # More globals
- VERSION = get_build_version()
- -if VERSION < 8.0:
- - raise DistutilsPlatformError("VC %0.1f is not supported by this module" % VERSION)
- # MACROS = MacroExpander(VERSION)
-
- class MSVCCompiler(CCompiler) :
- @@ -328,6 +326,8 @@
-
- def __init__(self, verbose=0, dry_run=0, force=0):
- CCompiler.__init__ (self, verbose, dry_run, force)
- + if VERSION < 8.0:
- + raise DistutilsPlatformError("VC %0.1f is not supported by this module" % VERSION)
- self.__version = VERSION
- self.__root = r"Software\Microsoft\VisualStudio"
- # self.__macros = MACROS
|