>>>>> "Phil" == Phil Muldoon <pmuldoon@redhat.com> writes: Phil> + /* Ignore errors. */ Phil> + PyObject_CallObject (item->event, NULL); I think this has to explicitly clear the error, like: if (PyObject_CallObject (item->event, NULL) == NULL) PyErr_Clear (); The code parts are ok with this fix. Tom