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 rosslagerwall
Recipients beazley, gregory.p.smith, loewis, ned.deily, pitrou, rosslagerwall, roysmith
Date 2011-01-13.09:27:59
SpamBayes Score 9.043565e-06
Marked as misclassified No
Message-id <1294910895.44.0.332284024794.issue7322@psf.upfronthosting.co.za>
In-reply-to
Content
How about this?

Instead of just losing the data that's been read so far in readline(), this patch adds the data as a new field to the exception that is thrown - this way the semantics remain exactly the same but the data is not discarded when a timeout occurs, it is still accessible via the exception.
History
Date User Action Args
2011-01-13 09:28:15rosslagerwallsetrecipients: + rosslagerwall, loewis, beazley, gregory.p.smith, roysmith, pitrou, ned.deily
2011-01-13 09:28:15rosslagerwallsetmessageid: <1294910895.44.0.332284024794.issue7322@psf.upfronthosting.co.za>
2011-01-13 09:27:59rosslagerwalllinkissue7322 messages
2011-01-13 09:27:59rosslagerwallcreate