[issue14229] On KeyboardInterrupt, the exit code should mirror the signal number

Antoine Pitrou report at bugs.python.org
Sat Mar 10 22:44:44 CET 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

> Since Python *does* handle the signal, and exits "regularly", we
> shouldn't

You are arguing from a legal point of view, but from a pratical point of view Python doesn't really "handle" the signal: it just defers the exit until after all internal structures are cleaned up.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14229>
_______________________________________


More information about the Python-bugs-list mailing list