Jeroen Demeyer added the comment: Here is a proposal for an API:
* getsignal: return the Python-level signal handler (this is an existing function) * setsignal: set the Python-level signal handler (but not the OS-level signal handler) * getossignal: get the OS-level signal handler as opaque object * setossignal: set the OS-level signal handler with an opaque object Using these primitives, you could implement anything that you want on a higher level. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13285> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com