[issue23618] PEP 475: handle EINTR in the socket module
Antoine Pitrou
report at bugs.python.org
Mon Mar 9 10:29:31 CET 2015
Antoine Pitrou added the comment:
About EINTR and connect(), I've found the following insightful page:
http://www.madore.org/~david/computers/connect-intr.html
Official POSIX wording is this:
"""If connect() is interrupted by a signal that is caught while blocked waiting to establish a connection, connect() shall fail and set errno to [EINTR], but the connection request shall not be aborted, and the connection shall be established asynchronously."""
----------
nosy: +pitrou
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23618>
_______________________________________
More information about the Python-bugs-list
mailing list