bpo-45643: Add signal.SIGSTKFLT on platforms where this is defined (GH-29266)
This commit is contained in:
parent
191c431de7
commit
a62be77266
@ -197,6 +197,16 @@ The variables defined in the :mod:`signal` module are:
|
|||||||
|
|
||||||
Segmentation fault: invalid memory reference.
|
Segmentation fault: invalid memory reference.
|
||||||
|
|
||||||
|
.. data:: SIGSTKFLT
|
||||||
|
|
||||||
|
Stack fault on coprocessor. The Linux kernel does not raise this signal: it
|
||||||
|
can only be raised in user space.
|
||||||
|
|
||||||
|
.. availability:: Linux, on architectures where the signal is available. See
|
||||||
|
the man page :manpage:`signal(7)` for further information.
|
||||||
|
|
||||||
|
.. versionadded:: 3.11
|
||||||
|
|
||||||
.. data:: SIGTERM
|
.. data:: SIGTERM
|
||||||
|
|
||||||
Termination signal.
|
Termination signal.
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
Added :data:`signal.SIGSTKFLT` on platforms where this signal is defined.
|
@ -1554,6 +1554,9 @@ signal_add_constants(PyObject *module)
|
|||||||
#ifdef SIGINFO
|
#ifdef SIGINFO
|
||||||
ADD_INT_MACRO(SIGINFO);
|
ADD_INT_MACRO(SIGINFO);
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef SIGSTKFLT
|
||||||
|
ADD_INT_MACRO(SIGSTKFLT);
|
||||||
|
#endif
|
||||||
|
|
||||||
// ITIMER_xxx constants
|
// ITIMER_xxx constants
|
||||||
#ifdef ITIMER_REAL
|
#ifdef ITIMER_REAL
|
||||||
|
Loading…
x
Reference in New Issue
Block a user