Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-21872: fix lzma library decompresses data incompletely (GH-14048) | animalize | 2019-09-12 | 1 | -6/+22 |
| | | | | | | | * 1. add test case with wrong behavior * 2. fix bug when max_length == -1 * 3. allow b"" as valid input data for decompress_buf() * 4. when max_length >= 0, let needs_input mechanism works * add more asserts to test case | ||||
* | 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-36254: Fix invalid uses of %d in format strings in C. (GH-12264) | Serhiy Storchaka | 2019-03-13 | 1 | -2/+2 |
| | |||||
* | 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 | -1/+1 |
| | | | | | | | * 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. | ||||
* | Spelling fixes (#2902) | Ville Skyttä | 2017-08-03 | 1 | -1/+1 |
| | |||||
* | Issue #27517: LZMA compressor and decompressor no longer raise exceptions if | Serhiy Storchaka | 2016-10-31 | 1 | -0/+5 |
|\ | | | | | | | given empty data twice. Patch by Benjamin Fogle. | ||||
| * | Issue #27517: LZMA compressor and decompressor no longer raise exceptions if | Serhiy Storchaka | 2016-10-31 | 1 | -0/+5 |
| | | | | | | | | given empty data twice. Patch by Benjamin Fogle. | ||||
* | | Issue #28275: Fixed possible use adter free in LZMADecompressor.decompress(). | Serhiy Storchaka | 2016-09-27 | 1 | -1/+3 |
|\ \ | |/ | | | | | Original patch by John Leitch. | ||||
| * | Issue #28275: Fixed possible use adter free in LZMADecompressor.decompress(). | Serhiy Storchaka | 2016-09-27 | 1 | -1/+3 |
| | | | | | | | | Original patch by John Leitch. | ||||
* | | replace PY_LONG_LONG with long long | Benjamin Peterson | 2016-09-06 | 1 | -11/+5 |
| | | |||||
* | | - Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -6/+6 |
|\ \ | |/ | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
| * | Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -6/+6 |
| | | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
* | | Issue #27171: Merge typo fixes from 3.5 | Martin Panter | 2016-06-02 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #27171: Fix typos in documentation, comments, and test function names | Martin Panter | 2016-06-02 | 1 | -1/+1 |
| | | |||||
* | | Got rid of redundand "self" parameter declarations. | Serhiy Storchaka | 2016-05-02 | 1 | -10/+4 |
|/ | | | | 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 | -6/+9 |
| | |||||
* | 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 | -10/+10 |
| | |||||
* | Regenerated Argument Clinic checksums. | Serhiy Storchaka | 2015-02-20 | 1 | -1/+1 |
| | |||||
* | Issue #15955: Add an option to limit output size when decompressing LZMA data. | Antoine Pitrou | 2015-01-17 | 1 | -39/+179 |
| | | | | Patch by Nikolaus Rath and Martin Panter. | ||||
* | Issue #22207: Fix "comparison between signed and unsigned integers" warning in | Victor Stinner | 2014-08-17 | 1 | -2/+2 |
| | | | | | test checking for integer overflow on Py_ssize_t type: cast explicitly to size_t. | ||||
* | Issue #20326: Argument Clinic now uses a simple, unique signature to | Larry Hastings | 2014-01-28 | 1 | -9/+9 |
| | | | | | | | | | | 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 | -0/+1389 |
| | |||||
* | Issue #20390: Small fixes and improvements for Argument Clinic. | Larry Hastings | 2014-01-26 | 1 | -1389/+0 |
| | |||||
* | Issue #20193: The _lzma module now uses Argument Clinic. | Serhiy Storchaka | 2014-01-25 | 1 | -146/+203 |
| | | | | LZMACompressor.__init__ is left not converted. | ||||
* | #19395: Raise exception when pickling a (BZ2|LZMA)(Compressor|Decompressor). | Nadeem Vawda | 2013-10-28 | 1 | -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 Vawda | 2013-10-28 | 1 | -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 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/+28 |
|/ | |||||
* | Make lzma.{encode,decode}_filter_properties private. | Nadeem Vawda | 2012-06-21 | 1 | -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öwis | 2012-05-15 | 1 | -1/+1 |
| | | | | This is safe because the actual value is already range-checked. | ||||
* | Remove uninitialized compiler warning. | Ross Lagerwall | 2012-05-12 | 1 | -1/+5 |
| | |||||
* | Fix buildbot failures in test_lzma. | Nadeem Vawda | 2012-05-06 | 1 | -7/+6 |
| | |||||
* | Rename lzma.check_is_supported() to is_check_supported() to avoid ↵ | Nadeem Vawda | 2012-05-06 | 1 | -6/+6 |
| | | | | grammatical confusion. | ||||
* | Add lzma.{encode,decode}_filter_properties(). | Nadeem Vawda | 2012-05-06 | 1 | -4/+182 |
| | |||||
* | Fix formatting of preset values for exception messages in _lzmamodule.c. | Nadeem Vawda | 2012-05-06 | 1 | -2/+2 |
| | |||||
* | Credit Per Øyvind Karlsen for the initial implementation of the lzma module ↵ | Nadeem Vawda | 2011-11-30 | 1 | -1/+6 |
| | | | | (issue #6715). | ||||
* | Issue #6715: Add module for compression using the LZMA algorithm. | Nadeem Vawda | 2011-11-29 | 1 | -0/+1106 |