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 martin.panter
Recipients BreamoreBoy, docs@python, edulix, lars.gustaebel, martin.panter, nadeem.vawda, serhiy.storchaka
Date 2015-03-23.03:53:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1427082830.23.0.0499532663777.issue22163@psf.upfronthosting.co.za>
In-reply-to
Content
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: test_empty_tarfile (test.test_tarfile.GzipStreamReadTest)
ERROR: test_fileobj_regular_file (test.test_tarfile.GzipStreamReadTest)
ERROR: test_ignore_zeros (test.test_tarfile.GzipStreamReadTest)
ERROR: test_non_existent_tarfile (test.test_tarfile.GzipStreamReadTest)
ERROR: test_null_tarfile (test.test_tarfile.GzipStreamReadTest)
ERROR: test_provoke_stream_error (test.test_tarfile.GzipStreamReadTest)
ERROR: test_read_through (test.test_tarfile.GzipStreamReadTest)
----------------------------------------------------------------------
tarfile.ReadError: invalid compressed data

======================================================================
ERROR: test_stream_padding (test.test_tarfile.GzipStreamWriteTest)
----------------------------------------------------------------------
zlib.error: Error -3 while decompressing data: invalid stored block lengths

======================================================================
FAIL: test_detect_file (test.test_tarfile.GzipDetectReadTest)
FAIL: test_detect_fileobj (test.test_tarfile.GzipDetectReadTest)
AssertionError

----------------------------------------------------------------------
Ran 387 tests in 14.216s

FAILED (failures=2, errors=9, skipped=8)

There is already Issue 5784 open about clarifying the “wbits” parameter, so I think we can close this as a duplicate.
History
Date User Action Args
2015-03-23 03:53:50martin.pantersetrecipients: + martin.panter, lars.gustaebel, nadeem.vawda, docs@python, BreamoreBoy, serhiy.storchaka, edulix
2015-03-23 03:53:50martin.pantersetmessageid: <1427082830.23.0.0499532663777.issue22163@psf.upfronthosting.co.za>
2015-03-23 03:53:50martin.panterlinkissue22163 messages
2015-03-23 03:53:49martin.pantercreate