[docs] [issue22163] max_wbits set incorrectly to -zlib.MAX_WBITS in tarfile, shouldn't be negative

Martin Panter report at bugs.python.org
Mon Mar 23 01:16:14 CET 2015


Martin Panter added the comment:

I suspect the patch is wrong and the zlib documentation needs fixing instead. See <https://docs.python.org/dev/library/zlib.html#zlib.decompress> for a possible explanation of the negative sign, although it would make more sense for compress() which would actually create a “gzip” header.

----------
assignee:  -> docs at python
components: +Documentation
nosy: +docs at python, vadmium

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


More information about the docs mailing list