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 neologix
Recipients jgehrcke, neologix, pitrou, sdaoden, vstinner
Date 2014-05-22.19:40:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAH_1eM16ndNbafLBOfG6OsWXDSmvwzULE-4ZHEjL7nRAOGYgqg@mail.gmail.com>
In-reply-to <1400785980.24.0.756603589553.issue20584@psf.upfronthosting.co.za>
Content
> Or the structure could simply host up to 256 handlers, regardless of NSIG.
> I'm uncomfortable with tweaking NSIG specifically for FreeBSD. If the FreeBSD headers export the wrong value, it's not really Python's problem.

Agreed.
And the current code is already complicated enough:

#ifndef NSIG
# if defined(_NSIG)
#  define NSIG _NSIG            /* For BSD/SysV */
# elif defined(_SIGMAX)
#  define NSIG (_SIGMAX + 1)    /* For QNX */
# elif defined(SIGMAX)
#  define NSIG (SIGMAX + 1)     /* For djgpp */
# else
#  define NSIG 64               /* Use a reasonable default value */
# endif
#endif
History
Date User Action Args
2014-05-22 19:40:39neologixsetrecipients: + neologix, pitrou, vstinner, jgehrcke, sdaoden
2014-05-22 19:40:39neologixlinkissue20584 messages
2014-05-22 19:40:39neologixcreate