Message143648
| 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: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 |
|