Message255564
| 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. |
|