[Python-Dev] Where to put the interrupt module? (original) (raw)
Kevin Jacobs jacobs@penguin.theopalgroup.com
Thu, 12 Jun 2003 16:01:39 -0400 (EDT)
- Previous message: [Python-Dev] Where to put the interrupt module?
- Next message: [Python-Dev] Where to put the interrupt module?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 12 Jun 2003, 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.
I haven't looked, but is it possible to make it raise an arbitrary exception? Last time I read the PyErr_CheckSignals code it looked possible. (That was yesterday, actually, regarding problems with the SSL module and KeyboardInterrupts).
-Kevin
--
Kevin Jacobs The OPAL Group - Enterprise Systems Architect Voice: (216) 986-0710 x 19 E-mail: jacobs@theopalgroup.com Fax: (216) 986-0714 WWW: http://www.theopalgroup.com
- Previous message: [Python-Dev] Where to put the interrupt module?
- Next message: [Python-Dev] Where to put the interrupt module?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]