[pywin32-checkins] pywin32/win32/src win32apimodule.cpp,1.43,1.44
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2005-01-25 13:39:32
|
Update of /cvsroot/pywin32/pywin32/win32/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16047 Modified Files: win32apimodule.cpp Log Message: Add comments for the console ctrl handler and autoduck corrections. Index: win32apimodule.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/src/win32apimodule.cpp,v retrieving revision 1.43 retrieving revision 1.44 diff -C2 -d -r1.43 -r1.44 *** win32apimodule.cpp 10 Oct 2004 22:22:51 -0000 1.43 --- win32apimodule.cpp 25 Jan 2005 13:39:21 -0000 1.44 *************** *** 4168,4172 **** #endif // MAINWIN ! // @pymethod |GetFileVersionInfo||Retrieve version info for specified file PyObject *PyGetFileVersionInfo(PyObject *self, PyObject *args) { --- 4168,4172 ---- #endif // MAINWIN ! // @pymethod |win32api|GetFileVersionInfo|Retrieve version info for specified file PyObject *PyGetFileVersionInfo(PyObject *self, PyObject *args) { *************** *** 4402,4405 **** --- 4402,4408 ---- PyObject *ret = PyObject_Call(ob, args, NULL); if (ret == NULL) { + // EEK - this is printed in the case of SystemExit - but SystemExit + // *is* honoured by virtue of PyErr_Print() doing the termination. + // This will not be the main thread. I don't think we want this. PySys_WriteStderr("ConsoleCtrlHandler function failed"); PyErr_Print(); |