cpython/Doc/howto
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
..
argparse.rst
clinic.rst Issue #25626: Change zlib to accept Py_ssize_t and cap to UINT_MAX 2015-11-20 08:13:35 +00:00
cporting.rst
curses.rst
descriptor.rst Issue #25523: Further a-to-an corrections. 2015-11-02 14:10:23 +02:00
functional.rst PEP 479: Change StopIteration handling inside generators. 2015-05-09 11:44:30 -04:00
index.rst
ipaddress.rst
logging-cookbook.rst rstlint: Fix "default role used" warning 2015-10-20 03:41:59 +03:00
logging.rst
logging_flow.png
pyporting.rst Fix a grammar error in the porting HOWTO as found by Eric Smith. 2015-04-13 16:32:16 -04:00
regex.rst Back porting changeset db302b88fdb6 to 3.4 branch, which fixed multiple documentation typos. 2015-06-14 17:35:37 -07:00
sockets.rst Back porting changeset db302b88fdb6 to 3.4 branch, which fixed multiple documentation typos. 2015-06-14 17:35:37 -07:00
sorting.rst
unicode.rst Issue #22286: The "backslashreplace" error handlers now works with 2015-01-25 22:56:57 +02:00
urllib2.rst remove reference to PyGoogle (#25145) 2015-09-20 23:17:41 +05:00
webservers.rst