cpython/Modules/clinic
Martin Panter e99e97762c Issue #25626: Change zlib to accept Py_ssize_t and cap to UINT_MAX
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.
2015-11-20 08:13:35 +00:00
..
_bz2module.c.h Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the 2015-04-24 00:40:51 +03:00
_codecsmodule.c.h Issue #24824: Signatures of codecs.encode() and codecs.decode() now are 2015-08-09 12:23:08 +03:00
_cryptmodule.c.h Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the 2015-04-24 00:40:51 +03:00
_cursesmodule.c.h Issue #23944: Argument Clinic now wraps long impl prototypes at column 78. 2015-04-14 18:07:59 -04:00
_datetimemodule.c.h Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the 2015-04-24 00:40:51 +03:00
_dbmmodule.c.h Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the 2015-04-24 00:40:51 +03:00
_elementtree.c.h Issue #19176: Fixed doctype() related bugs in C implementation of ElementTree. 2015-06-29 23:08:52 +03:00
_gdbmmodule.c.h Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the 2015-04-24 00:40:51 +03:00
_lzmamodule.c.h Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the 2015-04-24 00:40:51 +03:00
_opcode.c.h Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the 2015-04-24 00:40:51 +03:00
_pickle.c.h Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 2015-11-02 04:04:57 +00:00
_sre.c.h Issue #20148: Converted the _sre module to Argument Clinic. 2015-05-03 15:54:23 +03:00
_ssl.c.h Issue #20179: Converted the _ssl module to Argument Clinic. 2015-05-03 16:14:08 +03:00
_tkinter.c.h Issue #20168: Converted the _tkinter module to Argument Clinic. 2015-05-03 15:49:47 +03:00
_weakref.c.h Issue #23501: Argumen Clinic now generates code into separate files by default. 2015-04-03 23:53:51 +03:00
_winapi.c.h Issue #20172: Update clinicizations to current clinic. 2015-05-13 10:58:35 -05:00
arraymodule.c.h Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the 2015-04-24 00:40:51 +03:00
audioop.c.h Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the 2015-04-24 00:40:51 +03:00
binascii.c.h Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the 2015-04-24 00:40:51 +03:00
cmathmodule.c.h Issue #19543: Implementation of isclose as per PEP 485 2015-05-31 22:05:00 +03:00
fcntlmodule.c.h Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the 2015-04-24 00:40:51 +03:00
grpmodule.c.h Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the 2015-04-24 00:40:51 +03:00
md5module.c.h Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the 2015-04-24 00:40:51 +03:00
posixmodule.c.h Issue #23738: Merge 3.4 into 3.5 2015-09-09 01:56:53 +00:00
pwdmodule.c.h Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the 2015-04-24 00:40:51 +03:00
pyexpat.c.h Specify default values of semantic booleans in Argument Clinic generated signatures as booleans. 2015-05-30 11:30:39 +03:00
sha1module.c.h Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the 2015-04-24 00:40:51 +03:00
sha256module.c.h Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the 2015-04-24 00:40:51 +03:00
sha512module.c.h Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the 2015-04-24 00:40:51 +03:00
signalmodule.c.h Fixed compilation error in signalmodule.c (issue #20182). 2015-05-16 15:57:56 +03:00
spwdmodule.c.h Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the 2015-04-24 00:40:51 +03:00
unicodedata.c.h Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the 2015-04-24 00:40:51 +03:00
zlibmodule.c.h Issue #25626: Change zlib to accept Py_ssize_t and cap to UINT_MAX 2015-11-20 08:13:35 +00:00