Bug 262487

Summary: lang/python* assumes NSIG includes [SIGRTMIN,SIGRTMAX]; behavior difference from Linux
Product: Ports & Packages Reporter: Enji Cooper <ngie>
Component: Individual Port(s)Assignee: freebsd-python (Nobody) <python>
Status: New ---    
Severity: Affects Some People CC: emaste, lwhsu
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Enji Cooper freebsd_committer freebsd_triage 2022-03-11 18:59:23 UTC
NSIG on Linux includes the range [SIGRTMIN,SIGRTMAX].

In order for the code in lang/python* to handle realtime signals, either NSIG needs to be modified to include SIGRTMAX, or python needs to be modified to allocate and handle this range as well.

This will require modifying is_valid_signalnum and other relevant pieces of code in signalmodule.c .

A cpython defect is pending as well.

Reported by: Alok Sontakke (Dell)
Comment 1 Enji Cooper freebsd_committer freebsd_triage 2022-03-11 19:12:29 UTC
cpython bug: https://bugs.python.org/issue46989