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.

作者 serhiy.storchaka
收信人 amaury.forgeotdarc, nadeem.vawda, serhiy.storchaka
日期 2012-10-28.17:13:52
SpamBayes Score -1.0
Marked as misclassified
Message-id <1351444432.81.0.267181641792.issue16350@psf.upfronthosting.co.za>
In-reply-to
内容
Yes, accumulating the data will be backward-compatible.

But what if add a special flag for zlib.decompress, which makes bz2 and lzma compatible decoder?  I.e.:

1) unconsumed_tail is always empty (the unconsumed data accumulated in internal buffer, no need manually add it to next chunk of data).  Or even non-existent.
2) EOFError raised if decompress() is called after end-of-stream is reached.

Of course, it is a new feature.
历史
日期 用户 动作 参数
2012-10-28 17:13:52serhiy.storchaka修改recipients: + serhiy.storchaka, amaury.forgeotdarc, nadeem.vawda
2012-10-28 17:13:52serhiy.storchaka修改messageid: <1351444432.81.0.267181641792.issue16350@psf.upfronthosting.co.za>
2012-10-28 17:13:52serhiy.storchaka链接issue16350 messages
2012-10-28 17:13:52serhiy.storchaka创建