STINNER Victor added the comment:

The current implementation of _signal requires a limit on the number of signals 
to its internal array used to store Python callback:

static volatile struct {
    sig_atomic_t tripped;
    PyObject *func;
} Handlers[NSIG];

If you want to kill the arbitrary limit, you need to change this structure.

Maybe we need to find NSIG value differently on FreeBSD? For example try to use 
_SIG_MAXSIG.
http://lists.freebsd.org/pipermail/freebsd-doc/2010-August/017500.html

Please try attached on FreeBSD.

----------
keywords: +patch
Added file: http://bugs.python.org/file35310/signal_nsig_freebsd.patch

_______________________________________
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

Reply via email to