[pywin32-checkins] pywin32/com/win32com/src ErrorUtils.cpp,1.26,1.27
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2005-11-11 02:35:39
|
Update of /cvsroot/pywin32/pywin32/com/win32com/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1257 Modified Files: ErrorUtils.cpp Log Message: Must have Python lock before trying to log an error. Index: ErrorUtils.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32com/src/ErrorUtils.cpp,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** ErrorUtils.cpp 20 May 2005 23:26:53 -0000 1.26 --- ErrorUtils.cpp 11 Nov 2005 02:35:29 -0000 1.27 *************** *** 594,597 **** --- 594,598 ---- static void _DoLogger(PyObject *logProvider, char *log_method, const char *fmt, va_list argptr) { + CEnterLeavePython _celp; PyObject *exc_typ = NULL, *exc_val = NULL, *exc_tb = NULL; PyErr_Fetch( &exc_typ, &exc_val, &exc_tb); |