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 martin.panter
Recipients benjamin.peterson, conf, docs@python, martin.panter, ncoghlan, pitrou, trott
Date 2015-01-10.04:26:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1420864013.61.0.577338103181.issue5811@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a simple documentation patch to guarantee that at least one byte is normally returned. This would make the method much more useful, and compatible with the BZ2File and LZMAFile interfaces, allowing them to use BufferedReader, as I propose to do in Issue 15955.

Even if nobody is interested in Torsten’s patch to limit the return length, I suggest my patch be considered :)
History
Date User Action Args
2015-01-10 04:26:53martin.pantersetrecipients: + martin.panter, ncoghlan, pitrou, benjamin.peterson, trott, conf, docs@python
2015-01-10 04:26:53martin.pantersetmessageid: <1420864013.61.0.577338103181.issue5811@psf.upfronthosting.co.za>
2015-01-10 04:26:53martin.panterlinkissue5811 messages
2015-01-10 04:26:53martin.pantercreate