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

Éric Araujo report at bugs.python.org
Sat Mar 10 22:39:30 CET 2012

Éric Araujo <merwok at netwok.org> added the comment:

The Debian bug has some more convincing examples:

> any Python program which is expected to implement the interface of (say) "diff" is buggy, because
> it may exit status 1 ("comparison successful; differences found") when it should have died with
> SIGINT ("comparison not completed due to interrupt signal"); this could in principle cause data loss
> in some applications.

nosy: +eric.araujo

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list