diff options
author | Victor Stinner <vstinner@python.org> | 2022-04-25 22:13:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-25 22:13:31 (GMT) |
commit | 20cc69528677b3e5191139d1cb587531f4893b55 (patch) | |
tree | 50c706da1e4040b15b1d2cda8eb7a1a13a48b7dc /Makefile.pre.in | |
parent | 61381d7da1233849b280706f11dbcae4deed949d (diff) | |
download | cpython-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 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index d9f821d..3952f5b 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1622,6 +1622,7 @@ PYTHON_HEADERS= \ $(srcdir)/Include/internal/pycore_pystate.h \ $(srcdir)/Include/internal/pycore_runtime.h \ $(srcdir)/Include/internal/pycore_runtime_init.h \ + $(srcdir)/Include/internal/pycore_signal.h \ $(srcdir)/Include/internal/pycore_sliceobject.h \ $(srcdir)/Include/internal/pycore_strhex.h \ $(srcdir)/Include/internal/pycore_structseq.h \ |