1
#include "faulthandler.h"
4
faulthandler_sigsegv(PyObject *self, PyObject *args)
8
if (!PyArg_ParseTuple(args, "|i", &release_gil))
11
Py_BEGIN_ALLOW_THREADS
16
return PyLong_FromLong(y);
21
faulthandler_sigfpe(PyObject *self, PyObject *args)
25
return PyLong_FromLong(z);
30
faulthandler_sigbus(PyObject *self, PyObject *args)
40
faulthandler_sigill(PyObject *self, PyObject *args)