[issue27164] zlib can't decompress DEFLATE using shared dictionary

Xiang Zhang report at bugs.python.org
Wed Jun 1 07:02:41 EDT 2016


Xiang Zhang added the comment:

I think my conclusion in last message is right. A similar bug in CPAN can be found in https://rt.cpan.org/Public/Bug/Display.html?id=36046. And I can find in zlib's changelog inflateSetDictionary starts to support raw inflate from 1.2.2.1.

Patch attached now allows Python to decompress raw deflate format with a dictionary. Hope some core devs are willing to review.

----------
keywords: +patch
Added file: http://bugs.python.org/file43082/issue27164.patch

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


More information about the Python-bugs-list mailing list