summaryrefslogtreecommitdiff
path: root/Include/pyerrors.h
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-08-25 02:14:08 +0000
committerTim Peters <tim.peters@gmail.com>2004-08-25 02:14:08 +0000
commita5779a385d4126efc1dcff1680e31cc1e0f84833 (patch)
tree1188f15846ebb8896fb7b7d269bde4e87b6180b7 /Include/pyerrors.h
parentda586d0414cde5f606e7198159d396cf16a45bba (diff)
downloadcpython-a5779a385d4126efc1dcff1680e31cc1e0f84833.tar.gz
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.
Diffstat (limited to 'Include/pyerrors.h')
-rw-r--r--Include/pyerrors.h1
1 files changed, 1 insertions, 0 deletions
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;