[Python-checkins] CVS: python/dist/src/Include pyerrors.h,2.48,2.49
Guido van Rossum
gvanrossum@users.sourceforge.net
Wed, 22 Aug 2001 19:56:09 -0700
Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv17794
Modified Files:
pyerrors.h
Log Message:
Introduce OverflowWarning -- to be issued when short int operations
are overflowing and a long int operation is substituted.
Index: pyerrors.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pyerrors.h,v
retrieving revision 2.48
retrieving revision 2.49
diff -C2 -d -r2.48 -r2.49
*** pyerrors.h 2001/07/31 18:05:33 2.48
--- pyerrors.h 2001/08/23 02:56:07 2.49
***************
*** 67,70 ****
--- 67,71 ----
extern DL_IMPORT(PyObject *) PyExc_DeprecationWarning;
extern DL_IMPORT(PyObject *) PyExc_SyntaxWarning;
+ extern DL_IMPORT(PyObject *) PyExc_OverflowWarning;
extern DL_IMPORT(PyObject *) PyExc_RuntimeWarning;