[Python-Dev] Where to put the interrupt module?
Guido van Rossum
guido@python.org
Thu, 12 Jun 2003 16:58:39 -0400
> > 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?
Hm, that's not bad. It should be called sys.interrupt_main() then.
--Guido van Rossum (home page: http://www.python.org/~guido/)