From a5779a385d4126efc1dcff1680e31cc1e0f84833 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Wed, 25 Aug 2004 02:14:08 +0000 Subject: 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. --- Include/pyerrors.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Include/pyerrors.h') diff --git a/Include/pyerrors.h b/Include/pyerrors.h index 1715e9758c..f433cc0d1d 100644 --- a/Include/pyerrors.h +++ b/Include/pyerrors.h @@ -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; -- cgit v1.2.1