This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Rhamphoryncus
Recipients
Date 2007-01-28.11:57:31
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Your PyErr_SetInterrupt needs to set is_tripped twice, like so:

    is_tripped = 1;
    Handlers[SIGINT].tripped = 1;
    Py_AddPendingCall((int (*)(void *))PyErr_CheckSignals, NULL);

    is_tripped = 1;

The reason is that the signal handler run in a thread while the main thread goes through check
History
Date User Action Args
2007-08-23 14:51:29adminlinkissue1643738 messages
2007-08-23 14:51:29admincreate