Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-31787: Prevent refleaks when calling __init__() more than once (GH-3995) | Oren Milman | 2018-02-13 | 1 | -0/+11 |
| | |||||
* | Issue #27517: LZMA compressor and decompressor no longer raise exceptions if | Serhiy Storchaka | 2016-10-31 | 1 | -0/+38 |
|\ | | | | | | | given empty data twice. Patch by Benjamin Fogle. | ||||
| * | Issue #27517: LZMA compressor and decompressor no longer raise exceptions if | Serhiy Storchaka | 2016-10-31 | 1 | -0/+38 |
| | | | | | | | | given empty data twice. Patch by Benjamin Fogle. | ||||
* | | Issue #28229: lzma module now supports pathlib | Berker Peksag | 2016-10-04 | 1 | -0/+22 |
| | | |||||
* | | Issue #28275: Merge bz2 fix from 3.5 into 3.6 | Martin Panter | 2016-10-01 | 1 | -5/+3 |
|\ \ | |/ | |||||
| * | Issue #28275: Clean up to avoid use-after-free after bzip decompress failure | Martin Panter | 2016-10-01 | 1 | -5/+3 |
| | | |||||
* | | Issue #28275: Fixed possible use adter free in LZMADecompressor.decompress(). | Serhiy Storchaka | 2016-09-27 | 1 | -0/+9 |
|\ \ | |/ | | | | | Original patch by John Leitch. | ||||
| * | Issue #28275: Fixed possible use adter free in LZMADecompressor.decompress(). | Serhiy Storchaka | 2016-09-27 | 1 | -0/+9 |
| | | | | | | | | Original patch by John Leitch. | ||||
* | | Use sequence repetition instead of bytes constructor with integer argument. | Serhiy Storchaka | 2016-09-11 | 1 | -2/+2 |
|/ | |||||
* | Issue #27076: Doc, comment and tests spelling fixes | Martin Panter | 2016-05-26 | 1 | -1/+1 |
| | | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä. | ||||
* | Issue #23529: Limit the size of decompressed data when reading from | Antoine Pitrou | 2015-04-10 | 1 | -6/+19 |
| | | | | | | | | GzipFile, BZ2File or LZMAFile. This defeats denial of service attacks using compressed bombs (i.e. compressed payloads which decompress to a huge size). Patch by Martin Panter and Nikolaus Rath. | ||||
* | Issue #15955: Add an option to limit output size when decompressing LZMA data. | Antoine Pitrou | 2015-01-17 | 1 | -0/+91 |
| | | | | Patch by Nikolaus Rath and Martin Panter. | ||||
* | Issue #22777: Test pickling with all protocols. | Serhiy Storchaka | 2014-12-15 | 1 | -4/+5 |
| | |||||
* | Closes #19839: Fix regression in bz2 module's handling of non-bzip2 data at EOF. | Nadeem Vawda | 2013-12-04 | 1 | -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 Vawda | 2013-12-04 | 1 | -0/+26 |
| | | |||||
* | | #19395: Raise exception when pickling a (BZ2|LZMA)(Compressor|Decompressor). | Nadeem Vawda | 2013-10-28 | 1 | -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 Vawda | 2013-10-28 | 1 | -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 Brandl | 2013-05-12 | 1 | -14/+0 |
| | | |||||
* | | Issue #19201: Add support for the 'x' mode to the lzma module. | Nadeem Vawda | 2013-10-18 | 1 | -3/+29 |
|/ | | | | Patch by Tim Heaney and Vajrasky Kok. | ||||
* | Fix accidental non-breakable spaces (U+00A0). | Serhiy Storchaka | 2013-02-08 | 1 | -1/+1 |
| | |||||
* | Issue #1159051: GzipFile now raises EOFError when reading a corrupted file | Serhiy Storchaka | 2013-01-22 | 1 | -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 Vawda | 2012-06-21 | 1 | -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 Vawda | 2012-06-19 | 1 | -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 Vawda | 2012-06-04 | 1 | -0/+101 |
| | |||||
* | Allow LZMAFile to accept modes with a "b" suffix. | Nadeem Vawda | 2012-06-04 | 1 | -2/+17 |
| | |||||
* | Simplify usage of LZMAFile's fileobj support, like with BZ2File. | Nadeem Vawda | 2012-06-04 | 1 | -120/+110 |
| | |||||
* | Rename lzma.check_is_supported() to is_check_supported() to avoid ↵ | Nadeem Vawda | 2012-05-06 | 1 | -4/+4 |
| | | | | grammatical confusion. | ||||
* | Add lzma.{encode,decode}_filter_properties(). | Nadeem Vawda | 2012-05-06 | 1 | -0/+43 |
| | |||||
* | Fix seekable() in BZ2File and LZMAFile to check whether the underlying file ↵ | Nadeem Vawda | 2012-02-11 | 1 | -0/+9 |
| | | | | supports seek(). | ||||
* | Issue #6715: Add module for compression using the LZMA algorithm. | Nadeem Vawda | 2011-11-29 | 1 | -0/+1335 |