mirror of
https://github.com/python/cpython.git
synced 2025-10-18 04:38:07 +00:00
Changes for Lee Busby's SIGFPE patch set.
New file pyfpe.c and exception FloatingPointError. Surround some f.p. operations with PyFPE macro brackets.
This commit is contained in:
parent
09e6ad0c1e
commit
0ae748d3c4
5 changed files with 38 additions and 4 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue