[issue1628205] socket.readline() interface doesn't handle EINTR properly

Gregory P. Smith report at bugs.python.org
Thu Aug 13 20:57:23 CEST 2009


Gregory P. Smith <greg at krypto.org> added the comment:

fixed in trunk r74426.  socket.socket.sendall() and all
socket._fileobject methods (read/readline/write/flush) now properly
handle EINTR internally.

sendall will allow a python signal handler to raise an exception
aborting it in unknown state, otherwise it handles EINTR as it should
and continues sending.

I'm leaving this issue open until it is merged into py3k and considered
for 2.6 and/or 3.1 release backporting.

----------

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


More information about the Python-bugs-list mailing list