A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-June/036352.html below:

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

[Python-Dev] Where to put the interrupt module? [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





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4