Comment 2 for bug 41476

Revision history for this message
Martin Pool (mbp) wrote :

OK I agree.

For other signals should we raise
 a- KeyboardInterrupt
 b- a subclass of KeyboardInterrupt whose string representation is e.g. "Terminated by hangup"
 c- some other exception?

I'd go for B - most likely to be handled correctly by any code that cares about the interrupt class.