Control: tags -1 patch
I am including a patch for this.
--- libprelude-5.2.0.orig/bindings/python/libpreludecpp-python.i +++ libprelude-5.2.0/bindings/python/libpreludecpp-python.i @@ -86,7 +86,7 @@ static void _cb_python_log(int level, co SWIG_PYTHON_THREAD_BEGIN_BLOCK; arglist = Py_BuildValue("(i,s)", level, str); - result = PyEval_CallObject(__prelude_log_func, arglist); + result = PyObject_Call(__prelude_log_func, arglist, NULL); Py_DECREF(arglist); Py_XDECREF(result); --- libprelude-5.2.0.orig/bindings/python/_prelude.cxx +++ libprelude-5.2.0/bindings/python/_prelude.cxx @@ -4112,7 +4112,7 @@ static void _cb_python_log(int level, co SWIG_PYTHON_THREAD_BEGIN_BLOCK; arglist = Py_BuildValue("(i,s)", level, str); - result = PyEval_CallObject(__prelude_log_func, arglist); + result = PyObject_Call(__prelude_log_func, arglist, NULL); Py_DECREF(arglist); Py_XDECREF(result);