Message143648
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. |
|
Date |
User |
Action |
Args |
2011-09-06 20:18:23 | vstinner | set | recipients:
+ vstinner, neologix, rpointel |
2011-09-06 20:18:23 | vstinner | set | messageid: <1315340303.51.0.716084854968.issue12905@psf.upfronthosting.co.za> |
2011-09-06 20:18:22 | vstinner | link | issue12905 messages |
2011-09-06 20:18:22 | vstinner | create | |
|