[Python-checkins] CVS: distutils/distutils ccompiler.py,1.20,1.21

Greg Ward python-dev@python.org
Mon, 29 May 2000 19:02:50 -0700


Update of /cvsroot/python/distutils/distutils
In directory slayer.i.sourceforge.net:/tmp/cvs-serv6849

Modified Files:
	ccompiler.py 
Log Message:
Removed exceptions -- now in errors.py to avoid expensive import of ccompiler.

Index: ccompiler.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/ccompiler.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -r1.20 -r1.21
*** ccompiler.py	2000/05/30 01:56:43	1.20
--- ccompiler.py	2000/05/30 02:02:48	1.21
***************
*** 6,10 ****
  # created 1999/07/05, Greg Ward
  
! __revision__ = "$Id: ccompiler.py,v 1.20 2000/05/30 01:56:43 gward Exp $"
  
  import sys, os
--- 6,10 ----
  # created 1999/07/05, Greg Ward
  
! __revision__ = "$Id: ccompiler.py,v 1.21 2000/05/30 02:02:48 gward Exp $"
  
  import sys, os
***************
*** 14,33 ****
  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."""
  
  
--- 14,17 ----