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 docs@python, martin.panter, nadeem.vawda, python-dev, serhiy.storchaka
Date 2015-11-29.07:11:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1448781065.95.0.486155768482.issue23200@psf.upfronthosting.co.za>
In-reply-to
Content
And regarding other internal buffers and state, calling flush() or decompress() guarantees you get as much data as possible, but there is no error checking. You have to check the eof attribute to ensure everything is done, otherwise I don’t think there is a way to differentiate a truncated stream from a properly ended stream.
History
Date User Action Args
2015-11-29 07:11:06martin.pantersetrecipients: + martin.panter, nadeem.vawda, docs@python, python-dev, serhiy.storchaka
2015-11-29 07:11:05martin.pantersetmessageid: <1448781065.95.0.486155768482.issue23200@psf.upfronthosting.co.za>
2015-11-29 07:11:05martin.panterlinkissue23200 messages
2015-11-29 07:11:05martin.pantercreate