[Python-Dev] Where to put the interrupt module? (original) (raw)

Skip Montanaro skip@pobox.com
Fri, 13 Jun 2003 14:47:43 -0500


Kurt> It sounds to me like thread.interrupt_main() is the way to go for
Kurt> now.

How should dummy_thread be modified? Something like

def interrupt_main():
    raise KeyboardInterrupt

?

Skip