Florent Xicluna <la...@yahoo.fr> added the comment:

The simple fix:

--- Modules/_testcapimodule.c   (revision 78171)
+++ Modules/_testcapimodule.c   (working copy)
@@ -1763,6 +1763,8 @@
                        Py_DECREF(object);
                        Py_DECREF(module);
                }
+               else
+                       PyErr_Clear();
        }
 
   exit:

(we don't want to fail if optional "_curses" is not built)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7924>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to