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 Ellison Marks, martin.panter, xiang.zhang
Date 2017-04-07.05:32:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1491543126.01.0.740669932993.issue30000@psf.upfronthosting.co.za>
In-reply-to
Content
Such a change in my mind is an enhancement and only could get into 3.7.

IMHO zlib.compress() and zlib.decompress() are for simple usage, zlib.compressobj() and zlib.decompressobj() for advanced usage if you want more controls. Actually I would prefer simplifying zlib.decompress() signature (dropping the wbits parameter) than adding more complex to zlib.compress(). Of course we can't do that to maintain backwards compatibility. :-)

-1 on this change.
History
Date User Action Args
2017-04-07 05:32:06xiang.zhangsetrecipients: + xiang.zhang, martin.panter, Ellison Marks
2017-04-07 05:32:06xiang.zhangsetmessageid: <1491543126.01.0.740669932993.issue30000@psf.upfronthosting.co.za>
2017-04-07 05:32:05xiang.zhanglinkissue30000 messages
2017-04-07 05:32:05xiang.zhangcreate