Author ncoghlan
Recipients brian.curtin, jkloth, larry, ncoghlan, pitrou, vstinner
Date 2013-08-03.12:45:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I checked the getsignal docs, and indeed None is the expected return value for "signal handler exists, but was not installed from Python". That's accurate given the way faulthandler works:

On Linux (Python 3.3.0):

$ python3 -c "import signal; print(signal.getsignal(signal.SIGSEGV))"
$ python3 -X faulthandler -c "import signal; print(signal.getsignal(signal.SIGSEGV))"

So Jeremy's patch looks correct to me - when faulthandler is enabled, we need to skip over the signals that have those handlers attached.
Date User Action Args
2013-08-03 12:45:44ncoghlansetrecipients: + ncoghlan, pitrou, vstinner, larry, jkloth, brian.curtin
2013-08-03 12:45:44ncoghlansetmessageid: <>
2013-08-03 12:45:44ncoghlanlinkissue18396 messages
2013-08-03 12:45:44ncoghlancreate