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 gregory.p.smith
Recipients gregory.p.smith
Date 2011-06-05.20:39:01
SpamBayes Score 3.3608598e-05
Marked as misclassified No
Message-id <1307306343.57.0.342192724444.issue12268@psf.upfronthosting.co.za>
In-reply-to
Content
The file object readline() and readlines() methods can lose data when an underlying read system call is interrupted.  They will abort with an IOError in this case but any incomplete line data they have read will be discarded.

readline() and readlines() should never raise an IOError for the EINTR interrupted system call case.  They should handle that gracefully, retrying their reads after letting any Python signal handlers run.
History
Date User Action Args
2011-06-05 20:39:04gregory.p.smithsetrecipients: + gregory.p.smith
2011-06-05 20:39:03gregory.p.smithsetmessageid: <1307306343.57.0.342192724444.issue12268@psf.upfronthosting.co.za>
2011-06-05 20:39:02gregory.p.smithlinkissue12268 messages
2011-06-05 20:39:02gregory.p.smithcreate