summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-04-25 22:13:31 (GMT)
committerGitHub <noreply@github.com>2022-04-25 22:13:31 (GMT)
commit20cc69528677b3e5191139d1cb587531f4893b55 (patch)
tree50c706da1e4040b15b1d2cda8eb7a1a13a48b7dc /Doc
parent61381d7da1233849b280706f11dbcae4deed949d (diff)
downloadcpython-20cc69528677b3e5191139d1cb587531f4893b55.zip
cpython-20cc69528677b3e5191139d1cb587531f4893b55.tar.gz
cpython-20cc69528677b3e5191139d1cb587531f4893b55.tar.bz2
gh-64783: Fix signal.NSIG value on FreeBSD (#91929)
Fix signal.NSIG value on FreeBSD to accept signal numbers greater than 32, like signal.SIGRTMIN and signal.SIGRTMAX. * Add Py_NSIG constant. * Add pycore_signal.h internal header file. * _Py_Sigset_Converter() now includes the range of valid signals in the error message.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/signal.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/library/signal.rst b/Doc/library/signal.rst
index fdc9846..678411d 100644
--- a/Doc/library/signal.rst
+++ b/Doc/library/signal.rst
@@ -266,6 +266,7 @@ The variables defined in the :mod:`signal` module are:
.. data:: NSIG
One more than the number of the highest signal number.
+ Use :func:`valid_signals` to get valid signal numbers.
.. data:: ITIMER_REAL