Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | | Two minor Argument Clinic bugfixes: use the name of the class in the | Larry Hastings | 2014-01-22 | 1 | -4/+5 |
| | | | | | | | | | | docstring for __new__ and __init__, and always use "goto exit" instead of returning "NULL" for failure to parse (as _new__ and __init__ return ints). | ||||
* | | Issue #20287: Argument Clinic's output is now configurable, allowing | Larry Hastings | 2014-01-18 | 1 | -6/+2 |
| | | | | | | | | delaying its output or even redirecting it to a separate file. | ||||
* | | Issue #20226: Major improvements to Argument Clinic. | Larry Hastings | 2014-01-16 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * You may now specify an expression as the default value for a parameter! Example: "sys.maxsize - 1". This support is intentionally quite limited; you may only use values that can be represented as static C values. * Removed "doc_default", simplified support for "c_default" and "py_default". (I'm not sure we still even need "py_default", but I'm leaving it in for now in case a use presents itself.) * Parameter lines support a trailing '\\' as a line continuation character, allowing you to break up long lines. * The argument parsing code generated when supporting optional groups now uses PyTuple_GET_SIZE instead of PyTuple_GetSize, leading to a 850% speedup in parsing. (Just kidding, this is an unmeasurable difference.) * A bugfix for the recent regression where the generated prototype from pydoc for builtins would be littered with unreadable "=<object ...>"" default values for parameters that had no default value. * Converted some asserts into proper failure messages. * Many doc improvements and fixes. | ||||
* | | Issue #20214: Fixed a number of small issues and documentation errors in | Larry Hastings | 2014-01-12 | 1 | -6/+6 |
| | | | | | | | | Argument Clinic (see issue for details). | ||||
* | | Issue #19273: The marker comments Argument Clinic uses have been changed | Larry Hastings | 2014-01-07 | 1 | -15/+15 |
| | | | | | | | | to improve readability. | ||||
* | | Issue #20142: Py_buffer variables generated by Argument Clinic are now | Larry Hastings | 2014-01-06 | 1 | -4/+4 |
| | | | | | | | | initialized with a default value. | ||||
* | | Issue #19659: Added documentation for Argument Clinic. | Larry Hastings | 2014-01-04 | 1 | -5/+2 |
| | | |||||
* | | Issue #19976: Argument Clinic METH_NOARGS functions now always | Larry Hastings | 2014-01-04 | 1 | -2/+15 |
| | | | | | | | | take two parameters. | ||||
* | | Issue #18294: Fix uint_converter() in zlibmodule.c, fix the "> UINT_MAX" check | Victor Stinner | 2014-01-03 | 1 | -5/+6 |
| | | |||||
* | | Clinic: fix "self converters" with METH_NOARGS functions. | Larry Hastings | 2013-11-24 | 1 | -41/+46 |
| | | |||||
* | | Issue #19674: inspect.signature() now produces a correct signature | Larry Hastings | 2013-11-23 | 1 | -8/+9 |
| | | | | | | | | for some builtins. | ||||
* | | Issue #19730: Argument Clinic now supports all the existing PyArg | Larry Hastings | 2013-11-23 | 1 | -23/+77 |
| | | | | | | | | | | "format units" as legacy converters, as well as two new features: "self converters" and the "version" directive. | ||||
* | | Close #18294: Fix the zlib module to make it 64-bit safe | Victor Stinner | 2013-11-21 | 1 | -55/+125 |
| | | |||||
* | | Argument Clinic: rename "self" to "module" for module-level functions. | Larry Hastings | 2013-11-18 | 1 | -19/+21 |
| | | |||||
* | | Issue #16612: Add "Argument Clinic", a compile-time preprocessor | Larry Hastings | 2013-10-19 | 1 | -61/+122 |
| | | | | | | | | for C files to generate argument parsing code. (See PEP 436.) | ||||
* | | Issue #18408: Fix usage of _PyBytes_Resize() | Victor Stinner | 2013-07-08 | 1 | -16/+8 |
| | | | | | | | | | | _PyBytes_Resize(&v, new_size) sets v to NULL on error, so v cannot be used anymore. Replace "Py_DECREF(v); v = NULL;" with "Py_CLEAR(v);". |