STINNER Victor <victor.stin...@haypocalc.com> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12905>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to