Commit Graph

13 Commits

Author SHA1 Message Date
Serhiy Storchaka
f8def28ff0 Issue #17193: Use binary prefixes (KiB, MiB, GiB) for memory units. 2013-02-16 17:29:56 +02:00
Nadeem Vawda
5011244be0 Prefer lzma.open() over lzma.LZMAFile() in lzma module documentation. 2012-09-23 18:20:23 +02:00
Nadeem Vawda
667a13bf2a Fix indentation of examples in lzma module documentation. 2012-09-23 18:08:57 +02:00
Nadeem Vawda
a425c3d5a2 Make lzma.{encode,decode}_filter_properties private.
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.
2012-06-21 23:36:48 +02:00
Nadeem Vawda
e860404eb7 Add a function lzma.open(), to match gzip.open() and bz2.open(). 2012-06-04 23:38:12 +02:00
Nadeem Vawda
6cbb20cdf6 Allow LZMAFile to accept modes with a "b" suffix. 2012-06-04 23:36:24 +02:00
Nadeem Vawda
33c34da574 Simplify usage of LZMAFile's fileobj support, like with BZ2File. 2012-06-04 23:34:07 +02:00
Nadeem Vawda
bc459bb484 Rename lzma.check_is_supported() to is_check_supported() to avoid grammatical confusion. 2012-05-06 23:01:51 +02:00
Nadeem Vawda
f55b329edc Add lzma.{encode,decode}_filter_properties(). 2012-05-06 23:01:27 +02:00
Nadeem Vawda
fb39063202 Make lzma docs consistent with other compression modules (cf. changeset 11bd2d32b4e8). 2012-02-05 15:07:43 +02:00
Nadeem Vawda
d85d0e7247 Document that some of LZMAFile.__init__()'s args are keyword-only. 2012-02-04 14:06:07 +02:00
Nadeem Vawda
dc9dd0d340 Add note on memory usage to LZMACompressor doc. 2012-01-02 02:24:20 +02:00
Nadeem Vawda
3ff069ebc6 Issue #6715: Add module for compression using the LZMA algorithm. 2011-11-30 00:25:06 +02:00