[Python-ideas] Responsive signal handling

Andrew Barnert abarnert at yahoo.com
Tue Jun 23 07:42:13 CEST 2015

On Jun 22, 2015, at 16:00, Cameron Simpson <cs at zip.com.au> wrote:
> Perhaps a better solution here is not to keep KeyboardInterrupt special (i.e.  always going to the main thread) but to extend "raise" to accept a thread argument:
> raise blah in thread

Does this need to be syntax? Why not just:


This could even use the same mechanism as signals in 3.6, while possibly being backportable to something hackier in a C extension module for older versions.

More information about the Python-ideas mailing list