Message196399
| Author |
neologix |
| Recipients |
neologix, pitrou, r.david.murray, vstinner |
| Date |
2013年08月28日.18:24:39 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<CAH_1eM145_gEos1-6rmY6nXdXTURXfOE1JLueQm45Hyuy3eZ5A@mail.gmail.com> |
| In-reply-to |
<1377712222.75.0.805473660121.issue18869@psf.upfronthosting.co.za> |
| Content |
> Or perhaps we could enhance the signal module so that getsignal() return something (i.e. a specific object) which can restore the C signal handler. That would be better than special-casing faulthandler, IMHO.
Yes, I thought about that, see http://bugs.python.org/msg146560
The only problem I saw at that time is that we must make sure that the
object is indeed valid, otherwise the signal handler can jump to an
invalid address, and boom. |
|