mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Introduce OverflowWarning -- to be issued when short int operations
are overflowing and a long int operation is substituted.
This commit is contained in:
parent
7c198d3cde
commit
ae347b33be
2 changed files with 8 additions and 0 deletions
|
@ -66,6 +66,7 @@ extern DL_IMPORT(PyObject *) PyExc_Warning;
|
|||
extern DL_IMPORT(PyObject *) PyExc_UserWarning;
|
||||
extern DL_IMPORT(PyObject *) PyExc_DeprecationWarning;
|
||||
extern DL_IMPORT(PyObject *) PyExc_SyntaxWarning;
|
||||
extern DL_IMPORT(PyObject *) PyExc_OverflowWarning;
|
||||
extern DL_IMPORT(PyObject *) PyExc_RuntimeWarning;
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue