Lines Matching refs:modstate
493 _signal_module_state *modstate = get_signal_state(module); in signal_signal_impl() local
528 if (handler == modstate->ignore_handler) { in signal_signal_impl()
531 else if (handler == modstate->default_handler) { in signal_signal_impl()
887 _signal_module_state *modstate = get_signal_state(module); local
900 PyErr_SetFromErrno(modstate->itimer_error);
923 _signal_module_state *modstate = get_signal_state(module); local
927 PyErr_SetFromErrno(modstate->itimer_error);
1627 _signal_module_state *modstate = get_signal_state(m); local
1629 modstate->default_handler = state->default_handler; // borrowed ref
1630 modstate->ignore_handler = state->ignore_handler; // borrowed ref
1633 modstate->itimer_error = PyErr_NewException("signal.itimer_error",
1635 if (modstate->itimer_error == NULL) {
1653 if (PyDict_SetItemString(d, "ItimerError", modstate->itimer_error) < 0) {
1679 _signal_module_state *modstate = get_signal_state(module); local
1680 Py_VISIT(modstate->itimer_error);
1687 _signal_module_state *modstate = get_signal_state(module); local
1688 Py_CLEAR(modstate->itimer_error);