Update of /cvsroot/pywin32/pywin32/Pythonwin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11118
Modified Files:
win32win.cpp
Log Message:
In debug builds, assert there are no lingering exceptions which could
theoretically cause the wrong behaviour
Index: win32win.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/Pythonwin/win32win.cpp,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** win32win.cpp 4 Jun 2007 04:50:39 -0000 1.17
--- win32win.cpp 13 Jul 2007 03:04:50 -0000 1.18
***************
*** 2196,2199 ****
--- 2196,2200 ----
if (!pWnd)
return NULL;
+ assert(!PyErr_Occurred()); // lingering exception?
int message;
WPARAM wp = 0;
|