/* InterpreterError extends Exception */ static PyTypeObject _PyExc_InterpreterError = …; PyObject *PyExc_InterpreterError = …; /* InterpreterNotFoundError extends InterpreterError */ static PyTypeObject _PyExc_InterpreterNotFoundError = …; PyObject *PyExc_InterpreterNotFoundError = …; /* lifecycle */ static int init_static_exctypes(exceptions_t *state, PyInterpreterState *interp) { … } static void fini_static_exctypes(exceptions_t *state, PyInterpreterState *interp) { … } static int init_heap_exctypes(exceptions_t *state) { … } static void fini_heap_exctypes(exceptions_t *state) { … }