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

Gregory P. Smith report at bugs.python.org
Thu Aug 6 15:21:35 CEST 2009


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

nice test case rhettg.

This is a correctness issue to prevent data loss on EINTR.

I've attached a patch that builds on rhettg's but allows the EINTR signal 
to propagate upwards as desired by loweis and jorend for both read() and 
readline() calls.

----------
assignee:  -> gregory.p.smith
nosy: +gregory.p.smith
Added file: http://bugs.python.org/file14667/issue1628205-gps01.diff.txt

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


More information about the Python-bugs-list mailing list