[Python-checkins] CVS: python/dist/src/Include pyerrors.h,2.49,2.50
Fred L. Drake
fdrake@users.sourceforge.net
Fri, 05 Oct 2001 14:50:10 -0700
Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv24355/Include
Modified Files:
pyerrors.h
Log Message:
weakref.ReferenceError becomes a built-in exception now that weak ref objects
are moving into the core; with these changes, it will be possible for the
exception to be raised without the weakref module ever being imported.
Index: pyerrors.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pyerrors.h,v
retrieving revision 2.49
retrieving revision 2.50
diff -C2 -d -r2.49 -r2.50
*** pyerrors.h 2001/08/23 02:56:07 2.49
--- pyerrors.h 2001/10/05 21:50:08 2.50
***************
*** 49,52 ****
--- 49,53 ----
extern DL_IMPORT(PyObject *) PyExc_IndentationError;
extern DL_IMPORT(PyObject *) PyExc_TabError;
+ extern DL_IMPORT(PyObject *) PyExc_ReferenceError;
extern DL_IMPORT(PyObject *) PyExc_SystemError;
extern DL_IMPORT(PyObject *) PyExc_SystemExit;