Antoine Pitrou added the comment: Sorry, scratch that. add_signal_handler() won't even accept being called from a non-main thread, according to the comments. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue19310> _______________________________________