Xiang Zhang added the comment:

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.

----------
nosy: +martin.panter, xiang.zhang
versions:  -Python 2.7, Python 3.3, Python 3.4, Python 3.5, Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30000>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to