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 vstinner
Recipients neologix, rpointel, vstinner
Date 2011-09-06.20:18:22
SpamBayes Score 0.0015840563
Marked as misclassified No
Message-id <1315340303.51.0.716084854968.issue12905@psf.upfronthosting.co.za>
In-reply-to
Content
I tried the following script on OpenBSD 5 with Python 3.3:
-----------                                                                                                          
import signal
import sys

s = signal.SIGALRM
signal.signal(s, lambda x,y: 1/0)
signal.alarm(1)
signal.siginterrupt(s, True)
sys.stdin.read()
-----------

The C signal handler is called, but the system call (read in this case) is not interrupted.
History
Date User Action Args
2011-09-06 20:18:23vstinnersetrecipients: + vstinner, neologix, rpointel
2011-09-06 20:18:23vstinnersetmessageid: <1315340303.51.0.716084854968.issue12905@psf.upfronthosting.co.za>
2011-09-06 20:18:22vstinnerlinkissue12905 messages
2011-09-06 20:18:22vstinnercreate