Nadeem Vawda added the comment: This bug (zlib not providing a way to detect end-of-stream) has already been fixed - see issue 12646.
I've opened issue 16350 for the unused_data problem. ---------- resolution: -> out of date stage: test needed -> committed/rejected status: open -> closed superseder: -> zlib.Decompress.decompress/flush do not raise any exceptions when given truncated input streams _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5210> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com