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 alanmcintyre, benjamin.peterson, nadeem.vawda, pitrou, serhiy.storchaka, stutzbach
Date 2013-09-19.15:26:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1379604360.94.0.699623815139.issue19051@psf.upfronthosting.co.za>
In-reply-to
Content
This primitive doesn't not well fit a case of compressed streams. A chunk of compressed data read from underlied file object can be uncompressed to unpredictable large data. We can't limit the size of buffer.

Another point is that buffer interface is not very appropriate for Python implementation. And we want left as much Python code in gzip, bz2, lzma and zipfile as possible. Copying from bytes into buffer and back will just waste resources.
History
Date User Action Args
2013-09-19 15:26:00serhiy.storchakasetrecipients: + serhiy.storchaka, alanmcintyre, pitrou, nadeem.vawda, benjamin.peterson, stutzbach
2013-09-19 15:26:00serhiy.storchakasetmessageid: <1379604360.94.0.699623815139.issue19051@psf.upfronthosting.co.za>
2013-09-19 15:26:00serhiy.storchakalinkissue19051 messages
2013-09-19 15:26:00serhiy.storchakacreate