mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
bpo-45643: Add signal.SIGSTKFLT on platforms where this is defined (GH-29266)
This commit is contained in:
parent
191c431de7
commit
a62be77266
3 changed files with 14 additions and 0 deletions
|
@ -197,6 +197,16 @@ The variables defined in the :mod:`signal` module are:
|
|||
|
||||
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
|
||||
|
||||
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
|
||||
ADD_INT_MACRO(SIGINFO);
|
||||
#endif
|
||||
#ifdef SIGSTKFLT
|
||||
ADD_INT_MACRO(SIGSTKFLT);
|
||||
#endif
|
||||
|
||||
// ITIMER_xxx constants
|
||||
#ifdef ITIMER_REAL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue