Mark Lawrence added the comment:
Is the thinking and hence the patch correct here?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22163
___
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
Martin Panter added the comment:
Eduardo’s patch causes many tests to fail. Abbreviated test output:
$ ./python -bWall -m test -v test_tarfile
==
ERROR: test_compare_members (test.test_tarfile.GzipStreamReadTest)
ERROR:
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +lars.gustaebel
stage: - patch review
versions: -Python 3.1, Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22163
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22163
___
___
Python-bugs-list
New submission from Eduardo Robles Elvira:
I think I have found a small typo-bug in tarfile.py, that seems to
be present in cpython upstream, which makes tarfile compression slower.
The issue can be seen here, in line 415 [1] of tarfile.py:
self.cmp = self.zlib.compressobj(9,
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +nadeem.vawda
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22163
___
___