summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_lzma.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #22777: Test pickling with all protocols.Serhiy Storchaka2014-12-151-4/+5
|
* Closes #19839: Fix regression in bz2 module's handling of non-bzip2 data at EOF.Nadeem Vawda2013-12-041-0/+26
|\ | | | | | | Also fix an analogous bug (not a regression) in the lzma module.
| * #19839: Fix lzma module's handling of non-lzma data at EOF.Nadeem Vawda2013-12-041-0/+26
| |
* | #19395: Raise exception when pickling a (BZ2|LZMA)(Compressor|Decompressor).Nadeem Vawda2013-10-281-0/+9
|\ \ | |/ | | | | | | | | | | The underlying C libraries provide no mechanism for serializing compressor and decompressor objects, so actually pickling these classes is impractical. Previously, these objects would be pickled without error, but attempting to use a deserialized instance would segfault the interpreter.
| * #19395: Raise exception when pickling a (BZ2|LZMA)(Compressor|Decompressor).Nadeem Vawda2013-10-281-0/+9
| | | | | | | | | | | | | | The underlying C libraries provide no mechanism for serializing compressor and decompressor objects, so actually pickling these classes is impractical. Previously, these objects would be pickled without error, but attempting to use a deserialized instance would segfault the interpreter.
| * Back out patch for #1159051, which caused backwards compatibility problems.Georg Brandl2013-05-121-14/+0
| |
* | Issue #19201: Add support for the 'x' mode to the lzma module.Nadeem Vawda2013-10-181-3/+29
|/ | | | Patch by Tim Heaney and Vajrasky Kok.
* Fix accidental non-breakable spaces (U+00A0).Serhiy Storchaka2013-02-081-1/+1
|
* Issue #1159051: GzipFile now raises EOFError when reading a corrupted fileSerhiy Storchaka2013-01-221-0/+14
| | | | | with truncated header or footer. Added tests for reading truncated gzip, bzip2, and lzma files.
* Make lzma.{encode,decode}_filter_properties private.Nadeem Vawda2012-06-211-13/+13
| | | | | | | | These functions were originally added to support LZMA compression in the zipfile module, and are not of interest for the majority of users. They can be made public in 3.4 if there is user interest, but in the meanwhile, I've opted to present a smaller, simpler API for the module's initial release.
* Fix GzipFile's handling of filenames given as bytes objects.Nadeem Vawda2012-06-191-0/+24
| | | | Add relevant tests for GzipFile, and also for BZ2File and LZMAFile.
* Add a function lzma.open(), to match gzip.open() and bz2.open().Nadeem Vawda2012-06-041-0/+101
|
* Allow LZMAFile to accept modes with a "b" suffix.Nadeem Vawda2012-06-041-2/+17
|
* Simplify usage of LZMAFile's fileobj support, like with BZ2File.Nadeem Vawda2012-06-041-120/+110
|
* Rename lzma.check_is_supported() to is_check_supported() to avoid ↵Nadeem Vawda2012-05-061-4/+4
| | | | grammatical confusion.
* Add lzma.{encode,decode}_filter_properties().Nadeem Vawda2012-05-061-0/+43
|
* Fix seekable() in BZ2File and LZMAFile to check whether the underlying file ↵Nadeem Vawda2012-02-111-0/+9
| | | | supports seek().
* Issue #6715: Add module for compression using the LZMA algorithm.Nadeem Vawda2011-11-291-0/+1335