[Python-checkins] CVS: distutils/distutils errors.py,1.8,1.9

Greg Ward python-dev@python.org
Sat, 24 Jun 2000 19:12:16 -0700


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

Modified Files:
	errors.py 
Log Message:
Added PreprocessError and UnknownFileError (both used by CCompiler).

Index: errors.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/errors.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** errors.py	2000/05/30 02:02:14	1.8
--- errors.py	2000/06/25 02:12:14	1.9
***************
*** 79,82 ****
--- 79,85 ----
      """Some compile/link operation failed."""
  
+ class PreprocessError (CCompilerError):
+     """Failure to preprocess one or more C/C++ files."""
+ 
  class CompileError (CCompilerError):
      """Failure to compile one or more C/C++ source files."""
***************
*** 89,92 ****
      """Failure to link one or more C/C++ object files into an executable
      or shared library file."""
- 
  
--- 92,96 ----
      """Failure to link one or more C/C++ object files into an executable
      or shared library file."""
  
+ class UnknownFileError (CCompilerError):
+     """Attempt to process an unknown file type."""