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 frallan
Recipients
Date 2002-10-31.09:48:02
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=639616

I get the exact same behavior on OpenBSD 3.1 with Python-
2.2.2. Also this simple test program from the "Python 
Standard Library" book - fails. The program terminates but 
the "got signal" message is never printed.

import signal
import time

def handler (signo, frame):
    print 'got signal', signo

signal.signal(signal.SIGALRM, handler)
# wake me up in two seconds
signal.alarm(2)
now = time.time()
time.sleep(200)
print 'slept for', time.time() - now, "seconds"
History
Date User Action Args
2007-08-23 14:00:59adminlinkissue549081 messages
2007-08-23 14:00:59admincreate