[issue13285] signal module ignores external signal changes
Jeroen Demeyer
report at bugs.python.org
Thu Jan 26 15:32:55 EST 2017
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 <report at bugs.python.org>
<http://bugs.python.org/issue13285>
_______________________________________
More information about the Python-bugs-list
mailing list