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

Jack Jansen Jack.Jansen@cwi.nl
2003年6月12日 22:37:48 +0200


On donderdag, jun 12, 2003, at 21:54 Europe/Amsterdam, Guido van Rossum 
wrote:
> IDLEfork, now in Lib/idlelib, uses a new C extension, the 'interrupt'
> module. This is a truly minimal, and generally useful, module to
> provide a way to cause a KeyboardInterrupt in the main thread from a
> secondary thread. I propose to move this to Modules, and make it a
> toplevel module. This is the easiest thing in order to get it
> compiled and built for various platforms.

+1 on the functionality. But: if it's so small why not simply put it in 
sys?
--
- Jack Jansen <Jack.Jansen@oratrix.com> 
http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution -- Emma 
Goldman -

AltStyle によって変換されたページ (->オリジナル) /