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 serhiy.storchaka
Recipients serhiy.storchaka
Date 2013-09-19.15:29:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1379604556.3.0.19871630565.issue19053@psf.upfronthosting.co.za>
In-reply-to
Content
Bzip2 is block-based compression with large (up to 800 Kb) size of block. It means that while decompressor not read enough data it can't produce any output (actually this issue exists for other compression algorithms too, but less frequent). And the read1() method which makes only one low-level read can return empty bytes when there is still data available. This issue was fixed for gzip, bz2, and lzma modules in issue15546, but left in the zipfile module. In zipfile this bug less catastrophic because other read functions do not use read1() directly, but use lower level internal function.
History
Date User Action Args
2013-09-19 15:29:16serhiy.storchakasetrecipients: + serhiy.storchaka
2013-09-19 15:29:16serhiy.storchakasetmessageid: <1379604556.3.0.19871630565.issue19053@psf.upfronthosting.co.za>
2013-09-19 15:29:16serhiy.storchakalinkissue19053 messages
2013-09-19 15:29:16serhiy.storchakacreate