mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
Stop producing or using OverflowWarning. PEP 237 thought this would
happen in 2.3, but nobody noticed it still was getting generated (the warning was disabled by default). OverflowWarning and PyExc_OverflowWarning should be removed for 2.5, and left notes all over saying so.
This commit is contained in:
parent
1fa040ba73
commit
c885443479
8 changed files with 25 additions and 45 deletions
|
@ -74,6 +74,7 @@ PyAPI_DATA(PyObject *) PyExc_UserWarning;
|
|||
PyAPI_DATA(PyObject *) PyExc_DeprecationWarning;
|
||||
PyAPI_DATA(PyObject *) PyExc_PendingDeprecationWarning;
|
||||
PyAPI_DATA(PyObject *) PyExc_SyntaxWarning;
|
||||
/* PyExc_OverflowWarning will go away for Python 2.5 */
|
||||
PyAPI_DATA(PyObject *) PyExc_OverflowWarning;
|
||||
PyAPI_DATA(PyObject *) PyExc_RuntimeWarning;
|
||||
PyAPI_DATA(PyObject *) PyExc_FutureWarning;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue