summaryrefslogtreecommitdiffstats
path: root/Lib/lzma.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #23529: Limit the size of decompressed data when reading fromAntoine Pitrou2015-04-101-195/+29
| | | | | | | | 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.
* Closes #19839: Fix regression in bz2 module's handling of non-bzip2 data at EOF.Nadeem Vawda2013-12-041-7/+21
|\ | | | | | | 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-7/+21
| |
* | Issue #19201: Add support for the 'x' mode to the lzma module.Nadeem Vawda2013-10-181-6/+7
| | | | | | | | Patch by Tim Heaney and Vajrasky Kok.
* | Issue #16034 follow-up: Apply optimizations to the lzma module.Nadeem Vawda2012-10-211-29/+70
| |
* | lzma module: Rewrap docstrings at 72 columns, as per PEP 8.Nadeem Vawda2012-10-131-15/+16
|/
* #15546: Fix {GzipFile,LZMAFile}.read1()'s handling of pathological input data.Nadeem Vawda2012-08-051-23/+28
|
* Make lzma.{encode,decode}_filter_properties private.Nadeem Vawda2012-06-211-1/+1
| | | | | | | | 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.
* Add a function lzma.open(), to match gzip.open() and bz2.open().Nadeem Vawda2012-06-041-2/+48
|
* Allow LZMAFile to accept modes with a "b" suffix.Nadeem Vawda2012-06-041-4/+6
|
* Simplify usage of LZMAFile's fileobj support, like with BZ2File.Nadeem Vawda2012-06-041-10/+9
|
* Rename lzma.check_is_supported() to is_check_supported() to avoid ↵Nadeem Vawda2012-05-061-1/+1
| | | | grammatical confusion.
* Add lzma.{encode,decode}_filter_properties().Nadeem Vawda2012-05-061-0/+1
|
* Fix seekable() in BZ2File and LZMAFile to check whether the underlying file ↵Nadeem Vawda2012-02-111-2/+5
| | | | supports seek().
* Issue #6715: Add module for compression using the LZMA algorithm.Nadeem Vawda2011-11-291-0/+398