diff Python/bltinmodule.c @ 5119:bda01a374762 legacy-trunk

Changes for Lee Busby's SIGFPE patch set. New file pyfpe.c and exception FloatingPointError. Surround some f.p. operations with PyFPE macro brackets.
author Guido van Rossum <guido@python.org>
date Fri, 14 Feb 1997 22:58:07 +0000
parents cb7aadd9d9f2
children e0361d5421ff
line wrap: on
line diff
--- a/Python/bltinmodule.c	Fri Feb 14 22:54:21 1997 +0000
+++ b/Python/bltinmodule.c	Fri Feb 14 22:58:07 1997 +0000
@@ -1621,6 +1621,7 @@
 object *AttributeError;
 object *ConflictError;
 object *EOFError;
+object *FloatingPointError;
 object *IOError;
 object *ImportError;
 object *IndexError;
@@ -1654,6 +1655,7 @@
 	AttributeError = newstdexception("AttributeError");
 	ConflictError = newstdexception("ConflictError");
 	EOFError = newstdexception("EOFError");
+	FloatingPointError = newstdexception("FloatingPointError");
 	IOError = newstdexception("IOError");
 	ImportError = newstdexception("ImportError");
 	IndexError = newstdexception("IndexError");