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 jdemeyer
Recipients flox, jdemeyer, martin.panter, neologix, petri.lehtinen, pitrou, r.david.murray, rpcope1, takluyver, vilya, vstinner
Date 2017-01-26.20:32:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1485462775.99.0.803111868992.issue13285@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-01-26 20:32:56jdemeyersetrecipients: + jdemeyer, pitrou, vstinner, vilya, r.david.murray, flox, neologix, takluyver, petri.lehtinen, martin.panter, rpcope1
2017-01-26 20:32:55jdemeyersetmessageid: <1485462775.99.0.803111868992.issue13285@psf.upfronthosting.co.za>
2017-01-26 20:32:55jdemeyerlinkissue13285 messages
2017-01-26 20:32:55jdemeyercreate