[pywin32-checkins] pywin32/isapi/src PyExtensionObjects.cpp, 1.16, 1.17
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2009-04-23 02:01:52
|
Update of /cvsroot/pywin32/pywin32/isapi/src In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv18513/src Modified Files: PyExtensionObjects.cpp Log Message: fix to avoid leaving a stale KeyError hanging around Index: PyExtensionObjects.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/isapi/src/PyExtensionObjects.cpp,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** PyExtensionObjects.cpp 2 Mar 2009 04:39:37 -0000 1.16 --- PyExtensionObjects.cpp 23 Apr 2009 02:01:39 -0000 1.17 *************** *** 64,68 **** if (!key) return; // ack - not much more we can do. ! if (!PyDict_DelItem(g_callbackMap, key)) PyErr_Clear(); Py_DECREF(key); --- 64,68 ---- if (!key) return; // ack - not much more we can do. ! if (0!=PyDict_DelItem(g_callbackMap, key)) PyErr_Clear(); Py_DECREF(key); |