From 46323c8148108e48abf6725646c5ab68406f2a8f Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Mon, 9 May 2005 20:01:40 +0000 Subject: Fix for bug #303573 - "exceptions raised in a child watch handler are 2005-05-09 Mark McLoughlin Fix for bug #303573 - "exceptions raised in a child watch handler are silently swallowed" * gobject/gobjectmodule.c: (child_watch_func), (_pyg_spawn_async_callback): if PyObject_CallFunction() returns NULL, print a traceback of the exception. * tests/test_mainloop.py: add testcase. * tests/Makefile.am: add test_mainloop.py Reviewed by Johan Dahlin --- tests/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/Makefile.am') diff --git a/tests/Makefile.am b/tests/Makefile.am index 650dd5a..9b0b8de 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -23,6 +23,7 @@ tests = \ test_dialog.py \ test_enum.py \ test_gtype.py \ + test_mainloop.py \ test_radiobutton.py \ test_signal.py \ test_subprocess.py \ -- cgit