From: Greg Ward Date: Tue, 30 May 2000 02:02:48 +0000 (+0000) Subject: Removed exceptions -- now in errors.py to avoid expensive import of ccompiler. X-Git-Tag: v2.0b1~1639 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=39804cbc6027bc7869ceec75ba73de335222405a;p=python Removed exceptions -- now in errors.py to avoid expensive import of ccompiler. --- diff --git a/Lib/distutils/ccompiler.py b/Lib/distutils/ccompiler.py index 33caf86830..834d543e33 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