New submission from David Schere :
When doing an exit() within a signal handler for an alarm I am seeing something
strange:
This code works, it exits within signal handler as expected. You never see the
print statement executed.
import signal
import time
import sys
import traceback
def
David Schere added the comment:
sys.exit() does not behave the way a C programming thinks. It raises an
exception.
I'm probably not the first person to get this 'gotcha'
--
status: open -> closed
___
Python tracker
<h