[issue12224] problem with siginterrupt

Zhiping Deng report at bugs.python.org
Sat Jun 4 15:12:38 CEST 2011


Zhiping Deng <kofreestyler at gmail.com> added the comment:

I think the problem is that after a user calles signal.siginterrupt(False), 
he would expect that the socket.recv should handles EINTR properly 
for him because it's the behaviour in c level. 
He doesn't know socket.recv() calles select(2) internally and he needn't.

Or at least this should be documented in signal.siginterrupt().

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12224>
_______________________________________


More information about the Python-bugs-list mailing list