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
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