[issue12905] multiple errors in test_socket on OpenBSD
STINNER Victor
report at bugs.python.org
Tue Sep 6 22:18:23 CEST 2011
STINNER Victor <victor.stinner at 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 <report at bugs.python.org>
<http://bugs.python.org/issue12905>
_______________________________________
More information about the Python-bugs-list
mailing list