Removed exceptions -- now in errors.py to avoid expensive import of ccompiler.

This commit is contained in:
Greg Ward 2000-05-30 02:02:48 +00:00
parent c1cb0493f8
commit 39804cbc60
1 changed files with 0 additions and 16 deletions

View File

@ -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