This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xiang.zhang
Recipients Vladimir Mihailenco, martin.panter, nadeem.vawda, twouters, xiang.zhang
Date 2016-06-01.07:48:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464767307.5.0.134781381751.issue27164@psf.upfronthosting.co.za>
In-reply-to
Content
This seems related with the difference between zlib format and raw format. When you do raw inflate, you have to inflateSetDictionary before any inflate. You cannot rely on the first inflate to return Z_NEED_DICT and then do inflateSetDictionary.

Although I have the solution with experiment, but there is nothing can be found in the official zlib documentation. It is rather vague. I'll make more research and submit a patch later..

Right now, you can use zlib format (positive wbits) if it can achieve your goal. It's behaviour is right.
History
Date User Action Args
2016-06-01 07:48:27xiang.zhangsetrecipients: + xiang.zhang, twouters, nadeem.vawda, martin.panter, Vladimir Mihailenco
2016-06-01 07:48:27xiang.zhangsetmessageid: <1464767307.5.0.134781381751.issue27164@psf.upfronthosting.co.za>
2016-06-01 07:48:27xiang.zhanglinkissue27164 messages
2016-06-01 07:48:27xiang.zhangcreate