Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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);". | ||||
* | | Issue #18408: Fix zlib.compressobj() to handle PyThread_allocate_lock() failure | Victor Stinner | 2013-07-08 | 1 | -0/+4 |
| | | | | | | | | (MemoryError). | ||||
* | | 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 | -8/+28 |
| | | |||||
* | | Issue #18203: Replace malloc() with PyMem_Malloc() in Python modules | Victor Stinner | 2013-07-07 | 1 | -2/+2 |
| | | | | | | | | | | Replace malloc() with PyMem_Malloc() when the GIL is held, or with PyMem_RawMalloc() otherwise. | ||||
* | | Issue #9566: zlib: Explicit cast to unsigned int to fix a compiler warning ↵ | Victor Stinner | 2013-06-24 | 1 | -4/+4 |
| | | | | | | | | on Windows x64 | ||||
* | | Issue #17917: Use PyModule_AddIntMacro() instead of PyModule_AddIntConstant() | Charles-Francois Natali | 2013-05-20 | 1 | -14/+14 |
| | | | | | | | | when applicable. | ||||
* | | zlib: Explicit cast to fix a compiler warning | Victor Stinner | 2013-05-07 | 1 | -1/+1 |
| | | |||||
* | | Issue #15677: Document that zlib and gzip accept a compression level of 0 to ↵ | Nadeem Vawda | 2012-11-11 | 1 | -2/+2 |
|\ \ | |/ | | | | | | | | | mean 'no compression'. Patch by Brian Brazil. | ||||
| * | Issue #15677: Document that zlib and gzip accept a compression level of 0 to ↵ | Nadeem Vawda | 2012-11-11 | 1 | -2/+2 |
| |\ | | | | | | | | | | | | | | | | mean 'no compression'. Patch by Brian Brazil. | ||||
| | * | Issue #15677: Document that zlib and gzip accept a compression level of 0 to ↵ | Nadeem Vawda | 2012-11-11 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | mean 'no compression'. Patch by Brian Brazil. | ||||
* | | | Issue #16411: Fix a bug where zlib.decompressobj().flush() might try to ↵ | Nadeem Vawda | 2012-11-11 | 1 | -0/+2 |
|\ \ \ | |/ / | | | | | | | | | | | | | access previously-freed memory. Patch by Serhiy Storchaka. | ||||
| * | | Issue #16411: Fix a bug where zlib.decompressobj().flush() might try to ↵ | Nadeem Vawda | 2012-11-11 | 1 | -0/+2 |
| |\ \ | | |/ | | | | | | | | | | | | | access previously-freed memory. Patch by Serhiy Storchaka. | ||||
| | * | Issue #16411: Fix a bug where zlib.decompressobj().flush() might try to ↵ | Nadeem Vawda | 2012-11-11 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | access previously-freed memory. Patch by Serhiy Storchaka. | ||||
* | | | Issue #16350, part 2: Set unused_data (and unconsumed_tail) correctly in ↵ | Nadeem Vawda | 2012-11-11 | 1 | -44/+54 |
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | decompressobj().flush(). Additionally, fix a bug where a MemoryError in allocating a bytes object could leave the decompressor object in an invalid state (with its unconsumed_tail member being NULL). Patch by Serhiy Storchaka. | ||||
| * | | Issue #16350, part 2: Set unused_data (and unconsumed_tail) correctly in ↵ | Nadeem Vawda | 2012-11-11 | 1 | -44/+54 |
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | decompressobj().flush(). Additionally, fix a bug where a MemoryError in allocating a bytes object could leave the decompressor object in an invalid state (with its unconsumed_tail member being NULL). Patch by Serhiy Storchaka. | ||||
| | * | Issue #16350, part 2: Set unused_data (and unconsumed_tail) correctly in ↵ | Nadeem Vawda | 2012-11-11 | 1 | -45/+55 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | decompressobj().flush(). Additionally, fix a bug where a MemoryError in allocating a bytes object could leave the decompressor object in an invalid state (with its unconsumed_tail member being NULL). Patch by Serhiy Storchaka. | ||||
* | | | Issue #16350: Fix zlib decompressor handling of unused_data with multiple ↵ | Nadeem Vawda | 2012-11-04 | 1 | -6/+23 |
|\ \ \ | |/ / | | | | | | | | | | | | | calls to decompress() after EOF. Patch by Serhiy Storchaka. | ||||
| * | | Issue #16350: Fix zlib decompressor handling of unused_data with multiple ↵ | Nadeem Vawda | 2012-11-04 | 1 | -6/+23 |
| |\ \ | | |/ | | | | | | | | | | | | | calls to decompress() after EOF. Patch by Serhiy Storchaka. | ||||
| | * | Issue #16350: Fix zlib decompressor handling of unused_data with multiple ↵ | Nadeem Vawda | 2012-11-04 | 1 | -6/+23 |
| | | | | | | | | | | | | | | | | | | calls to decompress() after EOF. Patch by Serhiy Storchaka. | ||||
* | | | Issue #9566: Explicit downcast to fix compiler warnings on Win64 | Victor Stinner | 2012-10-30 | 1 | -2/+2 |
|/ / | |||||
* | | Document the rest of zlib.compressobj()'s arguments. | Nadeem Vawda | 2012-06-21 | 1 | -4/+17 |
| | | | | | | | | Original patch by Jim Jewett; see issue 14684. | ||||
* | | Tidy up comments from dd4f7d5c51c7 (zlib compression dictionary support). | Nadeem Vawda | 2012-06-21 | 1 | -1/+1 |
| | | |||||
* | | Issue #14684: Add support for predefined compression dictionaries to the ↵ | Nadeem Vawda | 2012-06-21 | 1 | -22/+96 |
| | | | | | | | | | | | | zlib module. Original patch by Sam Rushing. | ||||
* | | Issue #12306: Add ZLIB_RUNTIME_VERSION to the zlib module. | Nadeem Vawda | 2011-09-11 | 1 | -0/+4 |
| | | | | | | | | | | | | While we're at it, also document ZLIB_VERSION. Patch by Torsten Landschoff. | ||||
* | | Merge: #12839: Fix crash in zlib module due to version mismatch. | Nadeem Vawda | 2011-08-28 | 1 | -1/+7 |
|\ \ | |/ | | | | | | | | | | | | | | | If the version of zlib used to compile the zlib module is incompatible with the one that is actually linked in, then calls into zlib will fail. This can leave attributes of the z_stream uninitialized, so we must take care to avoid segfaulting by trying to use an invalid pointer. Fix by Richard M. Tew. |