[Python-checkins] python/dist/src/Include pyerrors.h,2.53,2.54

nnorwitz@users.sourceforge.net nnorwitz@users.sourceforge.net
Wed, 29 May 2002 08:54:57 -0700


Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv13399/Include

Modified Files:
	pyerrors.h 
Log Message:
As discussed on python-dev, add a mechanism to indicate features
that are in the process of deprecation (PendingDeprecationWarning).
Docs could be improved.


Index: pyerrors.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pyerrors.h,v
retrieving revision 2.53
retrieving revision 2.54
diff -C2 -d -r2.53 -r2.54
*** pyerrors.h	3 Dec 2001 00:43:33 -0000	2.53
--- pyerrors.h	29 May 2002 15:54:54 -0000	2.54
***************
*** 67,70 ****
--- 67,71 ----
  extern DL_IMPORT(PyObject *) PyExc_UserWarning;
  extern DL_IMPORT(PyObject *) PyExc_DeprecationWarning;
+ extern DL_IMPORT(PyObject *) PyExc_PendingDeprecationWarning;
  extern DL_IMPORT(PyObject *) PyExc_SyntaxWarning;
  extern DL_IMPORT(PyObject *) PyExc_OverflowWarning;