cpython/Lib
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
..
asyncio asyncio: Fix with github 2015-11-20 12:57:34 -05:00
collections Issue #22609: Constructor of collections.UserDict now accepts the self keyword 2015-09-29 23:37:09 +03:00
concurrent Issue #25523: Further a-to-an corrections new in 3.5 2015-11-02 04:20:33 +00:00
ctypes Issue #25498: Update error message for 3.5 2015-11-13 22:12:58 +00:00
curses
dbm Issue #23865: close() methods in multiple modules now are idempotent and more 2015-04-10 13:29:28 +03:00
distutils Issue #25607: Restore old distutils logging threshold after running tests that 2015-11-12 19:47:14 +02:00
email Issue #22932: Fix timezones in email.utils.formatdate. 2015-08-01 08:19:06 +12:00
encodings Issue #16473: Merge codecs doc and test from 3.4 into 3.5 2015-09-12 01:22:17 +00:00
ensurepip Update setuptools to 18.2 and pip to 7.1.2 2015-08-29 13:57:46 -04:00
html Merge spelling fixes from 3.4 into 3.5 2015-10-31 12:16:18 +00:00
http Merge typo and grammar fixes from 3.4 into 3.5 2015-11-14 01:14:25 +00:00
idlelib Merge with 3.4 2015-11-21 00:05:17 -05:00
importlib Issue #25280: Import trace messages emitted in verbose (-v) mode are no 2015-10-01 11:40:22 +03:00
json Issue #24540: merger from 3.4 2015-07-05 11:45:31 -07:00
lib2to3 Issue #25523: Merge a-to-an corrections from 3.4. 2015-11-02 14:39:05 +02:00
logging Closes #25411: Merged fix from 3.4. 2015-10-17 16:17:52 +01:00
msilib Issue #25523: Merge a-to-an corrections from 3.4. 2015-11-02 14:39:05 +02:00
multiprocessing Issue #21116: Avoid blowing memory when allocating a multiprocessing shared 2015-04-13 20:53:43 +02:00
plat-aix4
plat-darwin
plat-freebsd4
plat-freebsd5
plat-freebsd6
plat-freebsd7
plat-freebsd8
plat-generic
plat-linux
plat-netbsd1
plat-next3
plat-sunos5
plat-unixware7
pydoc_data Regenerate pydoc topics, fix minor non-RST formatting in Misc/NEWS. 2015-09-12 17:24:02 +01:00
site-packages
sqlite3 Issue #24257: Fixed incorrect uses of PyObject_IsInstance(). 2015-05-22 11:13:20 +03:00
test Issue #25626: Change zlib to accept Py_ssize_t and cap to UINT_MAX 2015-11-20 08:13:35 +00:00
tkinter Issue #25263: Fixed the tkinter.test.test_tkinter.test_font.FontTest test 2015-11-10 15:31:38 +02:00
turtledemo issue19075: add visual sorting algorithms to turtledemo; original code from Jason Yeo 2015-03-02 12:29:58 -08:00
unittest Issue #25523: Further a-to-an corrections new in 3.5 2015-11-02 04:20:33 +00:00
urllib Issue #24021: docstring for urllib.urlcleanup. 2015-08-04 12:52:43 +12:00
venv Issue #23399: pyvenv creates relative symlinks where possible. 2015-02-06 11:23:58 -05:00
wsgiref Issue #17527: Add PATCH to wsgiref.validator. Patch from Luca Sbardella. 2015-07-27 10:42:54 +12:00
xml Issue #25047: Merge Element Tree encoding from 3.4 into 3.5 2015-09-23 01:43:08 +00:00
xmlrpc Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 2015-11-02 04:04:57 +00:00
__future__.py PEP 479: Change StopIteration handling inside generators. 2015-05-09 11:44:30 -04:00
__phello__.foo.py
_bootlocale.py
_collections_abc.py Issue #24400: Resurrect inspect.isawaitable() 2015-07-03 13:11:35 -04:00
_compat_pickle.py Issue #18473: Fixed pickle compatibility tests for optional modules. 2015-03-31 16:49:26 +03:00
_compression.py Issue #23529: Limit the size of decompressed data when reading from 2015-04-11 00:31:01 +02:00
_dummy_thread.py
_markupbase.py
_osx_support.py
_pydecimal.py Issue #23641: Cleaned out legacy dunder names from tests and docs. 2015-03-12 22:01:30 +02:00
_pyio.py Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 2015-11-02 04:04:57 +00:00
_sitebuiltins.py
_strptime.py Fixed using deprecated escaping in regular expression in _strptime.py (issue23622). 2015-03-25 01:21:50 +02:00
_threading_local.py
_weakrefset.py
abc.py
aifc.py Corrected docstrings of audio modules. writeframes() accepts bytes, not str. 2015-07-10 22:13:40 +03:00
antigravity.py
argparse.py Issue #14910: Add allow_abbrev parameter to argparse.ArgumentParser. 2015-02-14 01:39:17 +02:00
ast.py Issue #25670: Remove duplicate getattr() from ast.NodeTransformer 2015-11-20 08:49:58 +01:00
asynchat.py
asyncore.py Issue #23485: select.poll.poll() is now retried when interrupted by a signal 2015-03-30 21:38:00 +02:00
base64.py Escaped backslashes in docstrings. 2015-04-03 18:12:41 +03:00
bdb.py
binhex.py Issue #23865: close() methods in multiple modules now are idempotent and more 2015-04-10 13:29:28 +03:00
bisect.py
bz2.py Issue #23529: Limit the size of decompressed data when reading from 2015-04-11 00:31:01 +02:00
calendar.py Issue #25523: Correct "a" article to "an" article 2015-11-02 03:37:02 +00:00
cgi.py (Merge 3.4) cgi.FieldStorage.read_multi ignores Content-Length 2015-08-18 10:23:16 -07:00
cgitb.py Issue #22831: Use "with" to avoid possible fd leaks. 2015-04-04 11:01:02 +03:00
chunk.py Issue #25523: Correct "a" article to "an" article 2015-11-02 03:37:02 +00:00
cmd.py
code.py Remaining fallout from 17911 2015-03-05 15:45:01 +13:00
codecs.py Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 2015-11-02 04:04:57 +00:00
codeop.py
colorsys.py
compileall.py Issue #23917: Fall back to sequential compilation when ProcessPoolExecutor doesn't exist. 2015-04-22 09:39:19 +03:00
configparser.py Issue #21159: Improve message in configparser.InterpolationMissingOptionError. 2015-08-14 11:47:41 +12:00
contextlib.py Issue #24336: The contextmanager decorator now works with functions with 2015-06-28 17:08:35 +03:00
copy.py Issue #20289: The copy module now uses pickle protocol 4 (PEP 3154) and 2015-03-24 18:06:42 +02:00
copyreg.py
cProfile.py
crypt.py
csv.py Issue #23171: csv.Writer.writerow() now supports arbitrary iterables. 2015-03-30 09:09:54 +03:00
datetime.py Merge 3.4 (datetime rounding) 2015-09-18 14:50:18 +02:00
decimal.py Issue #23641: Cleaned out legacy dunder names from tests and docs. 2015-03-12 21:56:08 +02:00
difflib.py Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 2015-11-02 04:04:57 +00:00
dis.py PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 2015-05-11 22:57:16 -04:00
doctest.py Merge typo and grammar fixes from 3.4 into 3.5 2015-11-14 01:14:25 +00:00
dummy_threading.py
enum.py Close issue23900: add default __doc__ to new enumerations that do not specify one. 2015-04-11 23:23:06 -07:00
filecmp.py
fileinput.py Issue #25510: fileinput.FileInput.readline() now returns b'' instead of '' 2015-11-01 16:45:26 +02:00
fnmatch.py
formatter.py Issue #25407: Drop the mention of the formatter module being removed 2015-10-16 12:09:33 -07:00
fractions.py Issue #22486: Added the math.gcd() function. The fractions.gcd() function now is 2015-05-13 00:19:51 +03:00
ftplib.py Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 2015-11-02 04:04:57 +00:00
functools.py Removed redundant call of update_wrapper(). 2015-10-24 09:51:53 +03:00
genericpath.py Issue #21883: os.path.join() and os.path.relpath() now raise a TypeError with 2014-10-04 14:58:43 +03:00
getopt.py Issue #25523: Correct "a" article to "an" article 2015-11-02 03:37:02 +00:00
getpass.py remove duplicated imports (closes #25502) 2015-10-28 23:15:13 -07:00
gettext.py Merge from 3.4 2015-04-14 10:35:43 -04:00
glob.py Issue #25584: Added "escape" to the __all__ list in the glob module. 2015-11-09 23:18:19 +02:00
gzip.py Issue #23529: Limit the size of decompressed data when reading from 2015-04-11 00:31:01 +02:00
hashlib.py Removed duplicated words in in comments and docs. 2014-12-01 18:28:43 +02:00
heapq.py Issue #22186: Fix typos in Lib/. 2014-10-19 18:07:05 +03:00
hmac.py
imaplib.py Issue #23779: imaplib raises TypeError if authenticator tries to abort. 2015-07-31 09:01:38 +12:00
imghdr.py
imp.py Close #24748: Restore imp.load_dynamic compatibility 2015-09-05 21:05:05 +10:00
inspect.py Issue #25503: Fixed inspect.getdoc() for inherited docstrings of properties. 2015-10-29 08:15:50 +02:00
io.py Issue #25523: Correct "a" article to "an" article 2015-11-02 03:37:02 +00:00
ipaddress.py Issue #16261: Converted some bare except statements to except statements 2015-05-20 10:33:40 +03:00
keyword.py
linecache.py Issue #23838: linecache now clears the cache and returns an empty result on 2015-04-01 16:56:13 +03:00
locale.py Issue #22681: Added support for the koi8_t encoding. 2015-05-12 23:24:19 +03:00
lzma.py Issue #23529: Limit the size of decompressed data when reading from 2015-04-11 00:31:01 +02:00
macpath.py Issue #23780: Improved error message in os.path.join() with single argument. 2015-05-19 11:00:07 +03:00
macurl2path.py
mailbox.py Issue #23865: close() methods in multiple modules now are idempotent and more 2015-04-10 13:29:28 +03:00
mailcap.py
mimetypes.py Issue #22028: Ensure mimetypes will not open registry keys with embedded nulls 2015-03-10 13:17:21 -07:00
modulefinder.py Issue #23911: Move path-based bootstrap code to a separate frozen module. 2015-05-02 19:15:18 -06:00
netrc.py
nntplib.py Issue #25523: Correct "a" article to "an" article 2015-11-02 03:37:02 +00:00
ntpath.py Issue #23780: Improved error message in os.path.join() with single argument. 2015-05-19 11:00:07 +03:00
nturl2path.py Issue21160: Correct comments in nturl2path. Patch by Jurko Gospodnetić. 2015-10-24 17:39:36 +03:00
numbers.py Issue #21408: The default __ne__() now returns NotImplemented if __eq__() 2015-01-26 09:57:07 +02:00
opcode.py Issue #24400: Introduce a distinct type for 'async def' coroutines. 2015-06-22 12:19:30 -04:00
operator.py added matmul and imatmul to operator.__all__ 2015-06-07 19:21:01 +03:00
optparse.py
os.py Issue #25583: Merge makedirs fix from 3.4 into 3.5 2015-11-20 02:35:46 +00:00
pathlib.py Issue #25417: Remove the extra dot from docstring 2015-10-22 03:34:16 +03:00
pdb.py merge from 3.4 2015-09-05 19:17:24 -04:00
pickle.py Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 2015-11-02 04:04:57 +00:00
pickletools.py remove duplicated imports (closes #25502) 2015-10-28 23:15:13 -07:00
pipes.py
pkgutil.py
platform.py Merge from 3.4 2015-09-22 17:35:42 -07:00
plistlib.py
poplib.py #21804: Add RFC 6856 (UTF8) support to poplib. 2015-05-16 15:05:53 -04:00
posixpath.py Issue #23780: Improved error message in os.path.join() with single argument. 2015-05-19 11:00:07 +03:00
pprint.py Issue #18682: Optimized pprint functions for builtin scalar types. 2015-05-16 21:38:05 +03:00
profile.py
pstats.py
pty.py
py_compile.py Issue #23911: Move path-based bootstrap code to a separate frozen module. 2015-05-02 19:15:18 -06:00
pyclbr.py
pydoc.py Issue #18010: Merge pydoc web search fix from 3.4 into 3.5 2015-11-06 00:51:38 +00:00
queue.py Issue #22043: time.monotonic() is now always available 2014-09-02 23:18:25 +02:00
quopri.py Issue #23681: Fixed Python 2 to 3 poring bugs. 2015-03-20 16:46:19 +02:00
random.py
re.py Issue #22364: Improved some re error messages using regex for hints. 2015-03-25 21:03:47 +02:00
reprlib.py Issue #22824: Simplify reprlib output format for empty arrays 2014-11-15 10:58:58 -08:00
rlcompleter.py Issue #25590: Make rlcompleter only call getattr() once per attribute 2015-11-13 22:47:00 +00:00
runpy.py Issue #23911: Move path-based bootstrap code to a separate frozen module. 2015-05-02 19:15:18 -06:00
sched.py Issue #23326: Removed __ne__ implementations. Since fixing default __ne__ 2015-01-31 12:05:05 +02:00
selectors.py asyncio: Sync with github repo 2015-05-11 13:48:16 -04:00
shelve.py Issue #23865: close() methods in multiple modules now are idempotent and more 2015-04-10 13:24:41 +03:00
shlex.py Issue #24113: Remove unreachable code in shlex. 2015-05-04 22:45:47 -04:00
shutil.py Issue #24982: shutil.make_archive() with the "zip" format now adds entries 2015-09-08 05:51:00 +03:00
signal.py Issue #25523: Further a-to-an corrections new in 3.5 2015-11-02 04:20:33 +00:00
site.py Closes #25185: merged fix from 3.4. 2015-10-01 11:27:57 +01:00
smtpd.py #25328: add missing raise keyword in decode_data+SMTPUTF8 check. 2015-10-09 10:19:33 -04:00
smtplib.py #25446: Fix regression in smtplib's AUTH LOGIN support. 2015-11-08 01:03:52 -05:00
sndhdr.py #18615: Make sndhdr return namedtuples. 2014-10-09 16:59:30 -04:00
socket.py merge 3.4 (#25471) 2015-10-24 20:07:08 -07:00
socketserver.py Issue #23285: PEP 475 -- Retry system calls failing with EINTR. 2015-02-07 13:27:50 +00:00
sre_compile.py Issue #22364: Improved some re error messages using regex for hints. 2015-03-25 21:03:47 +02:00
sre_constants.py Issue #22831: Use "with" to avoid possible fd leaks. 2015-04-04 11:01:02 +03:00
sre_parse.py Issue #25554: Got rid of circular references in regular expression parsing. 2015-11-05 17:49:26 +02:00
ssl.py issue23673 2015-03-18 17:27:57 -07:00
stat.py
statistics.py Issue #25494: Merge with 3.4 2015-10-27 22:01:02 -05:00
string.py Issue #25034: Merge from 3.4. 2015-09-29 10:30:04 -04:00
stringprep.py
struct.py
subprocess.py Fix issue #6973: When we know a subprocess.Popen process has died, do 2015-11-15 18:26:11 -08:00
sunau.py Corrected docstrings of audio modules. writeframes() accepts bytes, not str. 2015-07-10 22:13:40 +03:00
symbol.py Issue 24297: Update symbol.py. See also issue 24017. 2015-05-27 11:08:19 -04:00
symtable.py remove the concept of an unoptimized function scope from the compiler, since it can't happen anymore 2015-04-27 21:44:22 -04:00
sysconfig.py Closes #23437: Make user scripts directory versioned on Windows (patch by pmoore) 2015-02-14 09:50:59 -08:00
tabnanny.py
tarfile.py Merge with 3.4: Issue #24259: tarfile now raises a ReadError if an archive is truncated inside a data segment. 2015-07-06 09:29:41 +02:00
telnetlib.py Issue #23865: close() methods in multiple modules now are idempotent and more 2015-04-10 13:29:28 +03:00
tempfile.py Issue #25064: Adjust documentation according to new mkstemp signature 2015-11-07 00:32:50 +00:00
textwrap.py Issue #21827: Fixed textwrap.dedent() for the case when largest common 2015-10-28 21:43:12 +02:00
this.py
threading.py merge 3.4 (#25362) 2015-10-10 19:36:40 -07:00
timeit.py Issue #24631: Fixed regression in the timeit modulu with multyline setup. 2015-07-15 22:11:36 +03:00
token.py PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 2015-05-11 22:57:16 -04:00
tokenize.py Issue #24619: Simplify async/await tokenization. 2015-07-23 15:01:58 +03:00
trace.py Issue #23731: Implement PEP 488. 2015-04-13 14:21:02 -04:00
traceback.py Issue #25111: Fixed comparison of traceback.FrameSummary. 2015-09-29 22:33:36 +03:00
tracemalloc.py Issue #23731: Implement PEP 488. 2015-04-13 14:21:02 -04:00
tty.py
turtle.py Issue #6639: Module-level turtle functions no longer raise TclError after 2015-02-22 17:25:33 +02:00
types.py Issue #24400: Resurrect inspect.isawaitable() 2015-07-03 13:11:35 -04:00
typing.py Issue #25665: Make NamedTuple picklable. 2015-11-19 08:16:31 -08:00
uu.py
uuid.py always use os.urandom for the uuid4 algorithm (closes #25515) 2015-10-29 20:38:04 -07:00
warnings.py Issue #24305: Prevent import subsystem stack frames from being counted 2015-09-06 00:39:37 -07:00
wave.py Corrected docstrings of audio modules. writeframes() accepts bytes, not str. 2015-07-10 22:13:40 +03:00
weakref.py Issue #22958: Constructor and update method of weakref.WeakValueDictionary 2015-09-29 23:52:42 +03:00
webbrowser.py Issue #25005: Backout fix for #8232 because of use of unsafe subprocess.call(shell=True) 2015-09-05 11:57:47 -07:00
xdrlib.py Issue #11694: Raise ConversionError in xdrlib as documented 2014-10-10 21:21:52 +03:00
zipapp.py #23657 Don't explicitly do an isinstance check for str in zipapp 2015-03-22 15:32:36 +00:00
zipfile.py Issue #25364: zipfile now works in threads disabled builds. 2015-10-10 19:43:32 +03:00