Benjamin Peterson added the comment: The OP probably wants something like the Linux-specific signalfd() syscall. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue25482> _______________________________________