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 pitrou
Recipients dabeaz, nadeem.vawda, pitrou
Date 2012-08-03.22:29:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1344032988.49.0.0483300991628.issue15546@psf.upfronthosting.co.za>
In-reply-to
Content
> I propose amending BZ2File.read1() to make as many reads
> from the underlying file as necessary to return a non-empty result.

Agreed. IMO, read1()'s contract should be read as a best-effort thing, not an absolute guarantee. Returning an empty string when there is still data available is wrong.
History
Date User Action Args
2012-08-03 22:29:48pitrousetrecipients: + pitrou, nadeem.vawda, dabeaz
2012-08-03 22:29:48pitrousetmessageid: <1344032988.49.0.0483300991628.issue15546@psf.upfronthosting.co.za>
2012-08-03 22:29:47pitroulinkissue15546 messages
2012-08-03 22:29:47pitroucreate