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.
| * #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 #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/+21
| |
* | Issue #9566: Fix compiler warning on Windows 64-bit in _bz2module.cVictor Stinner2013-06-041-7/+7
| |
* | Reuse Py_MIN and Py_MAX macros: remove duplicate MIN/MAX macrosVictor Stinner2013-06-041-7/+5
|/ | | | multiprocessing.h: remove unused MIN and MAX macros
* 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.