This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jgehrcke
Recipients jgehrcke, neologix, sdaoden
Date 2014-02-11.00:23:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392078223.48.0.429951841447.issue20584@psf.upfronthosting.co.za>
In-reply-to
Content
As a follow-up, relevant output from FreeBSD 9:

$ python
Python 2.7.5 (default, Dec 20 2013, 21:12:37)
[GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9
Type "help", "copyright", "credits" or "license" for more information.
>>> import signal
>>> signals = [s for s in dir(signal) if s.startswith("SIG")]
>>> max((getattr(signal, s), s) for s in signals)
(126, 'SIGRTMAX')
>>> signal.NSIG
32
>>> signal.signal(signal.SIGRTMAX, lambda *a: None)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: signal number out of range


Hence, it's not the fallback to 64, it's FreeBSD's signal.h telling that NSIG is 32.
History
Date User Action Args
2014-02-11 00:23:43jgehrckesetrecipients: + jgehrcke, neologix, sdaoden
2014-02-11 00:23:43jgehrckesetmessageid: <1392078223.48.0.429951841447.issue20584@psf.upfronthosting.co.za>
2014-02-11 00:23:43jgehrckelinkissue20584 messages
2014-02-11 00:23:42jgehrckecreate