cpython/Misc
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
..
ACKS Issue #25498: Fixed contributors name. 2015-11-16 18:45:39 +02:00
coverity_model.c Update coverity modeling file to silence datetime warnings 2015-04-16 20:25:03 +02:00
gdbinit Removed unintentional trailing spaces in text files. 2015-03-29 19:12:58 +03:00
HISTORY Issue #25523: Merge a-to-an corrections from 3.4. 2015-11-02 14:39:05 +02:00
indent.pro
NEWS Issue #25626: Change zlib to accept Py_ssize_t and cap to UINT_MAX 2015-11-20 08:13:35 +00:00
Porting Issue #10708: Add a link to devguide in Misc/Porting. 2015-08-25 07:18:21 +03:00
python-config.in - Issue #18096: Fix library order returned by python-config. 2014-10-02 02:00:14 +02:00
python-config.sh.in - Issue #25440: Fix output of python-config --extension-suffix. 2015-10-19 14:07:57 +02:00
python-wing3.wpr
python-wing4.wpr
python-wing5.wpr Issue 17457: extend test discovery to support namespace packages 2013-11-23 13:29:23 +00:00
python.man merge 3.4 2015-05-10 21:19:56 -04:00
python.pc.in
README merge 3.3 2015-02-18 08:55:38 -05:00
README.AIX
README.coverity
README.valgrind
SpecialBuilds.txt remove mention of Python 2.2 and 2.3 2015-03-01 20:59:22 -05:00
svnmap.txt
valgrind-python.supp Valgrind: suppress false positive in _PyOS_GetOpt (getopt.c:84) (Invalid read 2013-11-08 20:18:09 +01:00
vgrindefs

Python Misc subdirectory
========================

This directory contains files that wouldn't fit in elsewhere.  Some
documents are only of historic importance.

Files found here
----------------

ACKS                    Acknowledgements
gdbinit                 Handy stuff to put in your .gdbinit file, if you use gdb
HISTORY                 News from previous releases -- oldest last
indent.pro              GNU indent profile approximating my C style
NEWS                    News for this release (for some meaning of "this")
Porting                 Mini-FAQ on porting to new platforms
python-config.in        Python script template for python-config
python.man              UNIX man page for the python interpreter
python.pc.in            Package configuration info template for pkg-config
python-wing*.wpr        Wing IDE project file
README                  The file you're reading now
README.AIX              Information about using Python on AIX
README.coverity         Information about running Coverity's Prevent on Python
README.valgrind         Information for Valgrind users, see valgrind-python.supp
SpecialBuilds.txt       Describes extra symbols you can set for debug builds
svnmap.txt              Map of old SVN revs and branches to hg changeset ids
valgrind-python.supp    Valgrind suppression file, see README.valgrind
vgrindefs               Python configuration for vgrind (a generic pretty printer)