Author loewis
Recipients loewis, nadeem.vawda, neologix, pitrou
Date 2012-03-09.07:14:34
SpamBayes Score 2.85452e-07
Marked as misclassified No
Message-id <>
I'm not so sure that Python is in violation of the convention here. The exit code should report *unhandled* signals, indicating that the process didn't provide an exit code at all (as it didn't call exit(2)). You are supposed to use WIFEXITED/WIFSIGNALED/WIFSTOPPED on the status code, and interpret it as an exit code only if WIFEXITED.

Since Python *does* handle the signal, and exits "regularly", we shouldn't (and probably even can't) claim that we didn't exit (unless we raise the signal again instead of exiting).
Date User Action Args
2012-03-09 07:14:35loewissetrecipients: + loewis, pitrou, nadeem.vawda, neologix
2012-03-09 07:14:35loewissetmessageid: <>
2012-03-09 07:14:34loewislinkissue14229 messages
2012-03-09 07:14:34loewiscreate