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 tholzer
Recipients flox, gregory.p.smith, neologix, pitrou, tholzer, vstinner
Date 2014-05-26.02:58:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1401073136.61.0.421946592332.issue20611@psf.upfronthosting.co.za>
In-reply-to
Content
No problem, I've attached a patch for socket.py for Python 2.7.3.

A few notes:

getaddrinfo (and gethostbyname, etc.) are already immune to this bug, so I've just fixed the connect() call.

The socket does need to be closed after EINTR, otherwise a EINPROGRESS might get returned on subsequent connect() calls.
History
Date User Action Args
2014-05-26 02:58:56tholzersetrecipients: + tholzer, gregory.p.smith, pitrou, vstinner, flox, neologix
2014-05-26 02:58:56tholzersetmessageid: <1401073136.61.0.421946592332.issue20611@psf.upfronthosting.co.za>
2014-05-26 02:58:56tholzerlinkissue20611 messages
2014-05-26 02:58:56tholzercreate