[issue1054041] Python doesn't exit with proper resultcode on SIGINT

Gregory P. Smith report at bugs.python.org
Tue Feb 19 18:29:31 EST 2019


Gregory P. Smith <greg at krypto.org> added the comment:

i'm curious if this _ever_ comes up so i'd like to leave it in at least through some betas.  I don't believe it should be possible.  If it is, it'd probably be a restricted execution environment that fails all signal() calls.  all perror will do is emit an error message to that effect before continuing so we still exit with an error code as the final fallback.

----------

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


More information about the Python-bugs-list mailing list