STINNER Victor <[email protected]> added the comment:
> if (PyOS_setsig(SIGINT, SIG_DFL) == SIG_ERR) {
> perror("signal"); /* Impossible in normal environments. */
In my experience, Python is were impossible things happen. Would it be possible
to write a better error message to explain what happened?
I expect that if PyOS_setsig() fails, the user cannot do much for that. It may
be a bug in the libc and so cannot be fixed easily. Maybe we should simply
ignore the error?
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue1054041>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com