summaryrefslogtreecommitdiffstats
path: root/Modules/_lzmamodule.c
Commit message (Collapse)AuthorAgeFilesLines
* #19395: Raise exception when pickling a (BZ2|LZMA)(Compressor|Decompressor).Nadeem Vawda2013-10-281-0/+18
|\ | | | | | | | | | | | | 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/+18
| | | | | | | | | | | | | | 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.
* | Issue #18227: "Free" function of bz2, lzma and zlib modules has no return ↵Victor Stinner2013-07-071-1/+1
| | | | | | | | value (void)
* | Issue #18227: Use PyMem_RawAlloc() in bz2, lzma and zlib modulesVictor Stinner2013-07-071-0/+28
|/
* Make lzma.{encode,decode}_filter_properties private.Nadeem Vawda2012-06-211-20/+14
| | | | | | | | 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.
* Silence VS 2010 warning on loss of precision (_int64 -> _int32).Martin v. Löwis2012-05-151-1/+1
| | | | This is safe because the actual value is already range-checked.
* Remove uninitialized compiler warning.Ross Lagerwall2012-05-121-1/+5
|
* Fix buildbot failures in test_lzma.Nadeem Vawda2012-05-061-7/+6
|
* Rename lzma.check_is_supported() to is_check_supported() to avoid ↵Nadeem Vawda2012-05-061-6/+6
| | | | grammatical confusion.
* Add lzma.{encode,decode}_filter_properties().Nadeem Vawda2012-05-061-4/+182
|
* Fix formatting of preset values for exception messages in _lzmamodule.c.Nadeem Vawda2012-05-061-2/+2
|
* Credit Per Øyvind Karlsen for the initial implementation of the lzma module ↵Nadeem Vawda2011-11-301-1/+6
| | | | (issue #6715).
* Issue #6715: Add module for compression using the LZMA algorithm.Nadeem Vawda2011-11-291-0/+1106