Message335927
> 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? |
|
Date |
User |
Action |
Args |
2019-02-19 11:35:52 | vstinner | set | recipients:
+ vstinner, mwh, loewis, gregory.p.smith, foom, pitrou, jwilk, rnk, petri.lehtinen, martin.panter, SamB, eryksun |
2019-02-19 11:35:52 | vstinner | set | messageid: <1550576152.63.0.788573048941.issue1054041@roundup.psfhosted.org> |
2019-02-19 11:35:52 | vstinner | link | issue1054041 messages |
2019-02-19 11:35:52 | vstinner | create | |
|