Lines Matching defs:handler

81    - only the main thread can set a signal handler
82 - only the main thread runs the signal handler
84 - any thread can get a signal handler
99 only oddity is that the thread executing the Python signal handler
256 The default handler for SIGINT installed by Python.
332 - trip_signal sets the flags to request the Python-level signal handler
399 to the Python handler... */
402 /* If the handler was not set up with sigaction, reinstall it. See
505 handler: object
514 A signal handler function is called with two arguments:
519 signal_signal_impl(PyObject *module, int signalnum, PyObject *handler)
557 if (PyCallable_Check(handler)) {
559 } else if (compare_handler(handler, modstate->ignore_handler)) {
561 } else if (compare_handler(handler, modstate->default_handler)) {
565 "signal handler must be signal.SIG_IGN, "
570 /* Check for pending signals before changing signal handler */
580 set_handler(signalnum, Py_NewRef(handler));
602 None -- if an unknown handler is in effect
603 anything else -- the callable Python object used as a handler
1421 default_int_handler() -- default SIGINT handler\n\
1424 SIG_DFL -- used to refer to the system default handler\n\
1442 A signal handler function is called with two arguments:\n\
1637 // Install Python SIGINT handler which raises KeyboardInterrupt
1853 * signal handler for it by the time PyErr_CheckSignals() is called
1860 /* No Python signal handler due to aforementioned race condition.
1915 is called, the corresponding Python signal handler will be raised.
1917 Missing signal handler for the given signal number is silently ignored. */
1953 // Import _signal to install the Python SIGINT handler