[Python-checkins] r78172 - in python/branches/py3k: Misc/NEWS Modules/_testcapimodule.c
mark.dickinson
python-checkins at python.org
Sat Feb 13 19:34:54 CET 2010
Author: mark.dickinson
Date: Sat Feb 13 19:34:53 2010
New Revision: 78172
Log:
Issue #7924: Fix an intermittent 'XXX undetected error' crash in
test_capi, due to test_capsule failing to clear an exception. Many
thanks to Florent Xicluna for the diagnosis and fix.
Modified:
python/branches/py3k/Misc/NEWS
python/branches/py3k/Modules/_testcapimodule.c
Modified: python/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS (original)
+++ python/branches/py3k/Misc/NEWS Sat Feb 13 19:34:53 2010
@@ -738,6 +738,10 @@
Tests
-----
+- Issue #7924: Fix an intermittent 'XXX undetected error' failure in
+ test_capi (only seen so far on platforms where the curses module
+ wasn't built), due to an uncleared exception.
+
- issue #7728: test_timeout was changed to use test_support.bind_port
instead of a hard coded port.
Modified: python/branches/py3k/Modules/_testcapimodule.c
==============================================================================
--- python/branches/py3k/Modules/_testcapimodule.c (original)
+++ python/branches/py3k/Modules/_testcapimodule.c Sat Feb 13 19:34:53 2010
@@ -1763,6 +1763,8 @@
Py_DECREF(object);
Py_DECREF(module);
}
+ else
+ PyErr_Clear();
}
exit:
More information about the Python-checkins
mailing list