Jan-Philip Gehrcke added the comment: 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20584> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com