[issue33332] Expose valid signal set (sigfillset()): add signal.valid_signals()

STINNER Victor report at bugs.python.org
Fri May 4 09:23:43 EDT 2018


STINNER Victor <vstinner at redhat.com> added the comment:

+    if (sigemptyset(&mask) || sigfillset(&mask)) {

I'm not sure that sigemptyset() is needed.

sigfillset() manual page:

       sigfillset() initializes set to full, including all signals.

The function is used to *initialize* a set.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33332>
_______________________________________


More information about the Python-bugs-list mailing list