summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-02-14 22:58:07 (GMT)
committerGuido van Rossum <guido@python.org>1997-02-14 22:58:07 (GMT)
commit0ae748d3c409fc4b870baadd601a53c6a43ddf11 (patch)
treef2f51f02dae2969fdf958a28e9412da3092eddd3 /Python/bltinmodule.c
parent09e6ad0c1e1c7b3c6132ab2d5dd85c5cc376721d (diff)
downloadcpython-0ae748d3c409fc4b870baadd601a53c6a43ddf11.zip
cpython-0ae748d3c409fc4b870baadd601a53c6a43ddf11.tar.gz
cpython-0ae748d3c409fc4b870baadd601a53c6a43ddf11.tar.bz2
Changes for Lee Busby's SIGFPE patch set.
New file pyfpe.c and exception FloatingPointError. Surround some f.p. operations with PyFPE macro brackets.
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r--Python/bltinmodule.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index d1dc9a5..29e3393 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -1621,6 +1621,7 @@ object *AccessError;
object *AttributeError;
object *ConflictError;
object *EOFError;
+object *FloatingPointError;
object *IOError;
object *ImportError;
object *IndexError;
@@ -1654,6 +1655,7 @@ initerrors()
AttributeError = newstdexception("AttributeError");
ConflictError = newstdexception("ConflictError");
EOFError = newstdexception("EOFError");
+ FloatingPointError = newstdexception("FloatingPointError");
IOError = newstdexception("IOError");
ImportError = newstdexception("ImportError");
IndexError = newstdexception("IndexError");