[docs] [issue23200] Deprecate the zlib decompressor’s flush() method

Martin Panter report at bugs.python.org
Sun Nov 29 02:11:06 EST 2015


Martin Panter added the comment:

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.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23200>
_______________________________________


More information about the docs mailing list