Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-42519: Replace PyObject_MALLOC() with PyObject_Malloc() (GH-23587) | Victor Stinner | 2020-12-01 | 1 | -1/+1 |
| | | | | | | | | | No longer use deprecated aliases to functions: * Replace PyObject_MALLOC() with PyObject_Malloc() * Replace PyObject_REALLOC() with PyObject_Realloc() * Replace PyObject_FREE() with PyObject_Free() * Replace PyObject_Del() with PyObject_Free() * Replace PyObject_DEL() with PyObject_Free() | ||||
* | bpo-1635741 port zlib module to multi-phase init (GH-21995) | Mohamed Koubaa | 2020-09-07 | 1 | -157/+221 |
| | | | Port the zlib extension module to multi-phase initialization (PEP 489). | ||||
* | bpo-37999: No longer use __int__ in implicit integer conversions. (GH-15636) | Serhiy Storchaka | 2020-05-26 | 1 | -37/+6 |
| | | | | Only __index__ should be used to make integer conversions lossless. | ||||
* | bpo-40268: Remove unused structmember.h includes (GH-19530) | Victor Stinner | 2020-04-15 | 1 | -1/+1 |
| | | | | | | If only offsetof() is needed: include stddef.h instead. When structmember.h is used, add a comment explaining that PyMemberDef is used. | ||||
* | bpo-40268: Remove explicit pythread.h includes (#19529) | Victor Stinner | 2020-04-15 | 1 | -1/+0 |
| | | | | Remove explicit pythread.h includes: it is always included by Python.h. | ||||
* | bpo-39968: Convert extension modules' macros of get_module_state() to inline ↵ | Hai Shi | 2020-03-16 | 1 | -6/+13 |
| | | | | functions (GH-19017) | ||||
* | bpo-38074: Make zlib extension module PEP-384 compatible (GH-15792) | Dino Viehland | 2019-09-10 | 1 | -73/+86 |
| | | | | Updated zlibmodule.c to be PEP 384 compliant. | ||||
* | 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-36048: Use __index__() instead of __int__() for implicit conversion if ↵ | Serhiy Storchaka | 2019-02-25 | 1 | -1/+3 |
| | | | | | | available. (GH-11952) Deprecate using the __int__() method in implicit conversions of Python numbers to C integers. | ||||
* | 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-25007: Add copy protocol support to zlib compressors and decompressors ↵ | Zackery Spytz | 2018-06-27 | 1 | -0/+57 |
| | | | | (GH-7940) | ||||
* | bpo-32969: Expose some missing constants in zlib and fix the doc (GH-5988) | Xiang Zhang | 2018-03-07 | 1 | -3/+18 |
| | |||||
* | bpo-31926: fix missing *_METHODDEF statements by argument clinic (#4230) | Tal Einat | 2017-11-03 | 1 | -4/+0 |
| | | | | | | | | | When a single .c file contains several functions and/or methods with the same name, a safety _METHODDEF #define statement is generated only for one of them. This fixes the bug by using the full name of the function to avoid duplicates rather than just the name. | ||||
* | bpo-31370: Remove support for threads-less builds (#3385) | Antoine Pitrou | 2017-09-07 | 1 | -18/+7 |
| | | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility. | ||||
* | bpo-9566: Fix some Windows x64 compiler warnings (#2492) | Segev Finer | 2017-07-26 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-9566: Silence liblzma warnings * bpo-9566: Silence tcl warnings * bpo-9566: Silence tk warnings * bpo-9566: Silence tix warnings * bpo-9566: Fix some library warnings * bpo-9566: Fix msvcrtmodule.c warnings * bpo-9566: Silence _bz2 warnings * bpo-9566: Fixed some _ssl warnings * bpo-9566: Fix _msi warnings * bpo-9566: Silence _ctypes warnings * Revert "bpo-9566: Fixed some _ssl warnings" This reverts commit a639001c949ba53338a9ee047d2ec1efd2505e6f. * bpo-9566: Also consider NULL as a possible error in HANDLE_return_converter * bpo-9566: whitespace fixes | ||||
* | Issue #28126: Replace Py_MEMCPY with memcpy(). Visual Studio can properly ↵ | Christian Heimes | 2016-09-13 | 1 | -2/+2 |
| | | | | optimize memcpy(). | ||||
* | Issue #16764: Support keyword arguments to zlib.decompress(). Patch by | Serhiy Storchaka | 2016-08-15 | 1 | -4/+4 |
| | | | | Xiang Zhang. | ||||
* | Issue #27130: Merge zlib 64-bit fixes from 3.5 | Martin Panter | 2016-07-23 | 1 | -387/+368 |
|\ | |||||
| * | Issue #27130: Fix handling of buffers exceeding UINT_MAX in “zlib” module | Martin Panter | 2016-07-23 | 1 | -387/+368 |
| | | | | | | | | Patch by Xiang Zhang. | ||||
* | | - Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -12/+12 |
|\ \ | |/ | | | | | 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 | -12/+12 |
| | | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
* | | Issue #26243: Only the level argument to zlib.compress() is keyword argument | Serhiy Storchaka | 2016-06-25 | 1 | -1/+2 |
| | | | | | | | | now. The first argument is positional-only. | ||||
* | | Issue #27164: Merge raw Deflate zdict support from 3.5 | Martin Panter | 2016-06-05 | 1 | -18/+44 |
|\ \ | |/ | |||||
| * | Issue #27164: Allow decompressing raw Deflate streams with predefined zdict | Martin Panter | 2016-06-05 | 1 | -18/+44 |
| | | | | | | | | Based on patch by Xiang Zhang. | ||||
* | | Issue #5784: Merge zlib from 3.5 | Martin Panter | 2016-05-27 | 1 | -7/+10 |
|\ \ | |/ | |||||
| * | Issue #5784: Expand documentation and tests for zlib wbits parameter | Martin Panter | 2016-05-27 | 1 | -7/+10 |
| | | | | | | | | Based on documentation by AM Kuchling. | ||||
* | | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | 2016-04-10 | 1 | -2/+2 |
|\ \ | |/ | | | | | in places where Py_DECREF was used. | ||||
| * | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | 2016-04-10 | 1 | -2/+2 |
| | | | | | | | | in places where Py_DECREF was used. | ||||
* | | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -8/+8 |
|\ \ | |/ | |||||
| * | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -8/+8 |
| | | |||||
* | | Issue 26243: Forgot to update zlib doc strings in Argument Clinic | Martin Panter | 2016-02-10 | 1 | -1/+1 |
| | | |||||
* | | Issue #26243: zlib.compress() keyword argument support by Aviv Palivoda | Martin Panter | 2016-02-10 | 1 | -9/+8 |
| | | |||||
* | | Issue #26244: Merge zlib documentation from 3.5 | Martin Panter | 2016-02-03 | 1 | -3/+4 |
|\ \ | |/ | |||||
| * | Issue #26244: Clarify default zlib compression level in documentation | Martin Panter | 2016-02-03 | 1 | -3/+4 |
| | | | | | | | | Based on patch by Aviv Palivoda. | ||||
* | | Issue #20440: More use of Py_SETREF. | Serhiy Storchaka | 2015-12-27 | 1 | -12/+6 |
|\ \ | |/ | | | | | | | This patch is manually crafted and contains changes that couldn't be handled automatically. | ||||
| * | Issue #20440: More use of Py_SETREF. | Serhiy Storchaka | 2015-12-27 | 1 | -12/+6 |
| | | | | | | | | | | This patch is manually crafted and contains changes that couldn't be handled automatically. | ||||
* | | Issue #25923: Added more const qualifiers to signatures of static and ↵ | Serhiy Storchaka | 2015-12-25 | 1 | -1/+1 |
|/ | | | | private functions. | ||||
* | Issue #20440: Massive replacing unsafe attribute setting code with special | Serhiy Storchaka | 2015-12-24 | 1 | -4/+2 |
| | | | | macro Py_SETREF. | ||||
* | Issue #25626: Change zlib to accept Py_ssize_t and cap to UINT_MAX | Martin Panter | 2015-11-20 | 1 | -29/+29 |
| | | | | | | | | | | | | | | The underlying zlib library stores sizes in “unsigned int”. The corresponding Python parameters are all sizes of buffers filled in by zlib, so it is okay to reduce higher values to the UINT_MAX internal cap. OverflowError is still raised for sizes that do not fit in Py_ssize_t. Sizes are now limited to Py_ssize_t rather than unsigned long, because Python byte strings cannot be larger than Py_ssize_t. Previously this could result in a SystemError on 32-bit platforms. This resolves a regression in the gzip module when reading more than UINT_MAX or LONG_MAX bytes in one call, introduced by revision 62723172412c. | ||||
* | 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 |
| | |||||
* | Issue #8677: make the zlib module "ssize_t clean" for parsing parameters | Victor Stinner | 2014-07-01 | 1 | -0/+1 |
| | |||||
* | Issue #20437: Fixed 22 potential bugs when deleting objects references. | Serhiy Storchaka | 2014-02-09 | 1 | -2/+1 |
|\ | |||||
| * | Issue #20437: Fixed 21 potential bugs when deleting objects references. | Serhiy Storchaka | 2014-02-09 | 1 | -2/+1 |
| | | |||||
* | | Issue #20489: Explicitly qualified expressions for default values in methods. | Serhiy Storchaka | 2014-02-05 | 1 | -4/+4 |
| | | |||||
* | | Issue #20326: Argument Clinic now uses a simple, unique signature to | Larry Hastings | 2014-01-28 | 1 | -14/+14 |
| | | | | | | | | | | | | | | | | | | | | 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). | ||||
* | | Issue #20193: Fix commit r6f217456b9ba by including clinic/zlibmodule.c.h ↵ | Christian Heimes | 2014-01-27 | 1 | -1/+1 |
| | | | | | | | | | | | | instead of zlibmodule.clinic.c | ||||
* | | Issue #20193: The zlib module now uses Argument Clinic. | Serhiy Storchaka | 2014-01-26 | 1 | -307/+196 |
| | | |||||
* | | Issue #20390: Small fixes and improvements for Argument Clinic. | Larry Hastings | 2014-01-26 | 1 | -6/+2 |
| | | |||||
* | | Issue #20189: Four additional builtin types (PyTypeObject, | Larry Hastings | 2014-01-24 | 1 | -10/+10 |
| | | | | | | | | | | | | PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type) have been modified to provide introspection information for builtins. Also: many additional Lib, test suite, and Argument Clinic fixes. |