This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients neologix, serhiy.storchaka, vstinner
Date 2015-03-09.09:08:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1425892113.2.0.561654455596.issue23618@psf.upfronthosting.co.za>
In-reply-to
Content
The PEP 475 has been accepted and is partialy implemented. The socket module is not fully patched to handle EINTR. For example, socket.socket.connect() doesn't handle EINTR yet.

Attached patch fixes socket.connect() to handle EINTR. It should fix issue #11266 and #20611 in Python 3.5 (Python 2.7 and 3.4 will need to be patched to handle explicitly InterruptedError/OSError(EINTR) in Python).

By the way, some socket functions handle EINTR but don't recompute the timeout yet. _PyTime_monotonic() should be used.
History
Date User Action Args
2015-03-09 09:08:33vstinnersetrecipients: + vstinner, neologix, serhiy.storchaka
2015-03-09 09:08:33vstinnersetmessageid: <1425892113.2.0.561654455596.issue23618@psf.upfronthosting.co.za>
2015-03-09 09:08:33vstinnerlinkissue23618 messages
2015-03-09 09:08:32vstinnercreate