[issue8672] Error decompressing valid zlib data

Antoine Pitrou report at bugs.python.org
Tue May 11 00:11:03 CEST 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

After a bit of debugging, it seems your data is not actually a complete zlib stream (*). What did you generate it with?

(*) in technical terms, the zlib never returns Z_STREAM_END when decompressing your data. The decompressobj ignores it, but the top-level decompress() function considers it an error.

----------
nosy: +pitrou

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


More information about the Python-bugs-list mailing list