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 mcjeff
Recipients gregory.p.smith, mcjeff, vstinner
Date 2015-04-08.15:26:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1428506783.96.0.365286476065.issue23863@psf.upfronthosting.co.za>
In-reply-to
Content
So, yeah, that's right. In the attached patch, I'm closing the file descriptor if the timeout/error happens on a non-blocking call.  It fails with an EBADF on reconnect at that point, but it doesn't potentially leave an FD in the proc's file table.

Should be no more EINTR's coming out of the select call.
History
Date User Action Args
2015-04-08 15:26:23mcjeffsetrecipients: + mcjeff, gregory.p.smith, vstinner
2015-04-08 15:26:23mcjeffsetmessageid: <1428506783.96.0.365286476065.issue23863@psf.upfronthosting.co.za>
2015-04-08 15:26:23mcjefflinkissue23863 messages
2015-04-08 15:26:23mcjeffcreate