[Python-Dev] Where to put the interrupt module?

Brett C. drifty@alum.berkeley.edu
Fri, 13 Jun 2003 15:52:20 -0700


Guido van Rossum wrote:
>>How should dummy_thread be modified?  Something like
>>
>>    def interrupt_main():
>>        raise KeyboardInterrupt
> 
> 
> I don't think dummy_thread needs to support this API.
> 

It should at least have a function that does nothing to keep API 
compatibility.  So if Skip's suggestions is not liked just have ``def 
interrupt_main(): pass`` in the module.

-Brett