We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b6a539a + 408274b commit 6c0427bCopy full SHA for 6c0427b
distutils/_msvccompiler.py
@@ -1,3 +1,5 @@
1
from .compilers.C import msvc
2
3
+__all__ = ["MSVCCompiler"]
4
+
5
MSVCCompiler = msvc.Compiler
distutils/ccompiler.py
@@ -1,17 +1,18 @@
from .compilers.C import base
from .compilers.C.base import (
- CompileError,
- LinkError,
+ compiler_class,
gen_lib_options,
6
gen_preprocess_options,
7
get_default_compiler,
8
new_compiler,
9
show_compilers,
10
)
+from .compilers.C.errors import CompileError, LinkError
11
12
__all__ = [
13
'CompileError',
14
'LinkError',
15
+ 'compiler_class',
16
'gen_lib_options',
17
'gen_preprocess_options',
18
'get_default_compiler',
newsfragments/4876.bugfix.rst
@@ -0,0 +1 @@
+Restore `distutils.ccompiler.compiler_class` -- by :user:`Avasam`
0 commit comments