[issue12646] zlib.Decompress.decompress/flush do not raise any exceptions when given truncated input streams

Oleg Oshmyan report at bugs.python.org
Sat Aug 6 07:20:32 CEST 2011


Oleg Oshmyan <chortos at inbox.lv> added the comment:

I have another proposition (as an alternative). The new _bz2.BZ2Decompressor objects have an attribute called eof which is False until the end of the stream is read. The same attribute could be added to zlib.Decompress objects.

----------

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


More information about the Python-bugs-list mailing list