summaryrefslogtreecommitdiffstats
path: root/Modules/_bz2module.c
Commit message (Collapse)AuthorAgeFilesLines
* #19395: Raise exception when pickling a (BZ2|LZMA)(Compressor|Decompressor).Nadeem Vawda2013-10-281-2/+20
| | | | | | | 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 #16828: Fix error incorrectly raised by bz2.compress('').Nadeem Vawda2013-01-021-16/+18
| | | | Initial patch by Martin Packman.
* Merge #14398: Fix size truncation and overflow bugs in bz2 module.Nadeem Vawda2012-10-211-9/+24
|
* Merge #13159: Replace FileIO's quadratic-time buffer growth algorithm with a ↵Nadeem Vawda2011-10-131-12/+4
| | | | | | linear-time one. Also fix the bz2 module, which suffered from the same problem.
* Fix 64-bit safety issue in BZ2Compressor and BZ2Decompressor.Nadeem Vawda2011-04-121-9/+24
|
* Issue #5863: Rewrite BZ2File in pure Python, and allow it to acceptAntoine Pitrou2011-04-031-0/+583
file-like objects using a new `fileobj` constructor argument. Patch by Nadeem Vawda.