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 eryksun
Recipients dabeaz, eryksun
Date 2015-10-26.07:46:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1445845614.43.0.402121818942.issue25476@psf.upfronthosting.co.za>
In-reply-to
Content
Per issue 16597, when an exception occurs in flush(), the file is closed anyway. You'd have to check the exception and only skip to the end for EWOULDBLOCK or EAGAIN. That way you're not introducing a regression for ENOSPC and other exceptions for which retrying will just repeatedly fail. 

I'm adding 2.7 to keep the io module consistent; however, socket.makefile in 2.7 doesn't use the io module.
History
Date User Action Args
2015-10-26 07:46:54eryksunsetrecipients: + eryksun, dabeaz
2015-10-26 07:46:54eryksunsetmessageid: <1445845614.43.0.402121818942.issue25476@psf.upfronthosting.co.za>
2015-10-26 07:46:54eryksunlinkissue25476 messages
2015-10-26 07:46:53eryksuncreate