Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async ↵ | Jeroen Demeyer | 2019-05-31 | 1 | -4/+4 |
| | | | | | | | | | (GH-13464) Automatically replace tp_print -> tp_vectorcall_offset tp_compare -> tp_as_async tp_reserved -> tp_as_async | ||||
* | bpo-33138: Change standard error message for non-pickleable and non-copyable ↵ | Serhiy Storchaka | 2018-10-31 | 1 | -18/+0 |
| | | | | types. (GH-6239) | ||||
* | bpo-35090: Fix potential division by zero in allocator wrappers (GH-10174) | Alexey Izbyshev | 2018-10-28 | 1 | -2/+2 |
| | | | | | | | * Fix potential division by zero in BZ2_Malloc() * Avoid division by zero in PyLzma_Malloc() * Avoid division by zero and integer overflow in PyZlib_Malloc() Reported by Svace static analyzer. | ||||
* | bpo-33916: Fix bz2 and lzma init when called twice (GH-7843) | Victor Stinner | 2018-06-23 | 1 | -2/+6 |
| | | | | bz2, lzma: When Decompressor.__init__() is called twice, free the old lock to not leak memory. | ||||
* | bpo-31787: Prevent refleaks when calling __init__() more than once (GH-3995) | Oren Milman | 2018-02-13 | 1 | -1/+1 |
| | |||||
* | bpo-31370: Remove support for threads-less builds (#3385) | Antoine Pitrou | 2017-09-07 | 1 | -23/+0 |
| | | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility. | ||||
* | bpo-30022: Get rid of using EnvironmentError and IOError (except test… (#1051) | Serhiy Storchaka | 2017-04-16 | 1 | -3/+3 |
| | |||||
* | Issue #28275: Merge bz2 fix from 3.5 into 3.6 | Martin Panter | 2016-10-01 | 1 | -1/+3 |
|\ | |||||
| * | Issue #28275: Clean up to avoid use-after-free after bzip decompress failure | Martin Panter | 2016-10-01 | 1 | -1/+3 |
| | | |||||
* | | Got rid of redundand "self" parameter declarations. | Serhiy Storchaka | 2016-05-02 | 1 | -2/+1 |
|/ | | | | Argument Clinic is now able to infer all needed information. | ||||
* | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -1/+1 |
| | |||||
* | Issue #20440: Applied yet one patch for using Py_SETREF. | Serhiy Storchaka | 2015-12-27 | 1 | -3/+2 |
| | | | | The patch is automatically generated, it replaces the code that uses Py_CLEAR. | ||||
* | Issue #23944: Argument Clinic now wraps long impl prototypes at column 78. | Larry Hastings | 2015-04-14 | 1 | -2/+3 |
| | |||||
* | Issue #23501: Argumen Clinic now generates code into separate files by default. | Serhiy Storchaka | 2015-04-03 | 1 | -2/+1 |
| | |||||
* | Removed unintentional trailing spaces in non-external and non-generated C files. | Serhiy Storchaka | 2015-03-18 | 1 | -1/+1 |
| | |||||
* | Issue #15955: Add an option to limit the output size in bz2.decompress(). | Antoine Pitrou | 2015-02-26 | 1 | -58/+201 |
| | | | | Patch by Nikolaus Rath. | ||||
* | Issue #22156: Fix some "comparison between signed and unsigned integers" | Victor Stinner | 2014-08-15 | 1 | -2/+2 |
| | | | | compiler warnings in the Modules/ subdirectory. | ||||
* | Issue #20326: Argument Clinic now uses a simple, unique signature to | Larry Hastings | 2014-01-28 | 1 | -6/+6 |
| | | | | | | | | | | annotate text signatures in docstrings, resulting in fewer false positives. "self" parameters are also explicitly marked, allowing inspect.Signature() to authoritatively detect (and skip) said parameters. Issue #20326: Argument Clinic now generates separate checksums for the input and output sections of the block, allowing external tools to verify that the input has not changed (and thus the output is not out-of-date). | ||||
* | Fix for catestrophic errors in previous checkin (Argument Clinic rollup patch). | Larry Hastings | 2014-01-26 | 1 | -1/+3 |
| | |||||
* | Issue #20390: Small fixes and improvements for Argument Clinic. | Larry Hastings | 2014-01-26 | 1 | -9/+2 |
| | |||||
* | Issue #20193: The _bz2 module now uses Argument Clinic. | Serhiy Storchaka | 2014-01-25 | 1 | -72/+92 |
| | |||||
* | #19395: Raise exception when pickling a (BZ2|LZMA)(Compressor|Decompressor). | Nadeem Vawda | 2013-10-28 | 1 | -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 Vawda | 2013-10-28 | 1 | -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 Stinner | 2013-07-07 | 1 | -1/+1 |
| | | | | | | | | value (void) | ||||
* | | Issue #18227: Use PyMem_RawAlloc() in bz2, lzma and zlib modules | Victor Stinner | 2013-07-07 | 1 | -0/+21 |
| | | |||||
* | | Issue #9566: Fix compiler warning on Windows 64-bit in _bz2module.c | Victor Stinner | 2013-06-04 | 1 | -7/+7 |
| | | |||||
* | | Reuse Py_MIN and Py_MAX macros: remove duplicate MIN/MAX macros | Victor Stinner | 2013-06-04 | 1 | -7/+5 |
|/ | | | | multiprocessing.h: remove unused MIN and MAX macros | ||||
* | Issue #16828: Fix error incorrectly raised by bz2.compress(''). | Nadeem Vawda | 2013-01-02 | 1 | -16/+18 |
| | | | | Initial patch by Martin Packman. | ||||
* | Merge #14398: Fix size truncation and overflow bugs in bz2 module. | Nadeem Vawda | 2012-10-21 | 1 | -9/+24 |
| | |||||
* | Merge #13159: Replace FileIO's quadratic-time buffer growth algorithm with a ↵ | Nadeem Vawda | 2011-10-13 | 1 | -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 Vawda | 2011-04-12 | 1 | -9/+24 |
| | |||||
* | Issue #5863: Rewrite BZ2File in pure Python, and allow it to accept | Antoine Pitrou | 2011-04-03 | 1 | -0/+583 |
file-like objects using a new `fileobj` constructor argument. Patch by Nadeem Vawda. |