diff options
author | Greg Ward <gward@python.net> | 2000-05-30 02:02:48 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-05-30 02:02:48 (GMT) |
commit | 39804cbc6027bc7869ceec75ba73de335222405a (patch) | |
tree | 8c29c4a8f52638821223fee32657c34ca36871a3 | |
parent | c1cb0493f89b7b9dcf2e84e367bd1da8594d9e9d (diff) | |
download | cpython-39804cbc6027bc7869ceec75ba73de335222405a.zip cpython-39804cbc6027bc7869ceec75ba73de335222405a.tar.gz cpython-39804cbc6027bc7869ceec75ba73de335222405a.tar.bz2 |
Removed exceptions -- now in errors.py to avoid expensive import of ccompiler.
-rw-r--r-- | Lib/distutils/ccompiler.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/Lib/distutils/ccompiler.py b/Lib/distutils/ccompiler.py index 33caf86..834d543 100644 --- a/Lib/distutils/ccompiler.py +++ b/Lib/distutils/ccompiler.py @@ -15,22 +15,6 @@ from distutils.spawn import spawn from distutils.util import move_file, mkpath, newer_pairwise, newer_group -# Exception classes used by the CCompiler implementation classes -class CCompilerError (Exception): - """Failure doing some compile/link operation.""" - -class CompileError (CCompilerError): - """Failure to compile one or more C/C++ source files.""" - -class LibError (CCompilerError): - """Failure to create a static library from one or more C/C++ object - files.""" - -class LinkError (CCompilerError): - """Failure to link one or more C/C++ object files into an executable - or shared library file.""" - - class CCompiler: """Abstract base class to define the interface that must be implemented by real compiler abstraction classes. Might have some use as a |