Open GoogleCodeExporter opened 8 years ago
Perhaps killing a thread could require two consecutive KeyboardInterrupts.
Original comment by andre.ro...@gmail.com
on 19 Aug 2009 at 12:14
AFAIK, the only reliable way to interrupt another python thread is to throw an
exception in that thread, and currently the only way to do that in pure Python
is
through cTypes. The killable thread implementation simply throws a
Keyboardexception
in the specified thread.
If that is killing the interpreter, then it looks like Keyboardexceptions aren't
being caught properly.
Original comment by johannes...@gmail.com
on 19 Aug 2009 at 4:41
Original issue reported on code.google.com by
andre.ro...@gmail.com
on 2 Sep 2008 at 10:38