]> granicus.if.org Git - python/commitdiff
Issue #25626: Add news to 3.6 section
authorMartin Panter <vadmium+py@gmail.com>
Sat, 21 Nov 2015 10:57:47 +0000 (10:57 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Sat, 21 Nov 2015 10:57:47 +0000 (10:57 +0000)
Misc/NEWS

index 0e25ad2837ddc85c65fa2f60f04ad34496bf9aeb..39226f52a5fee9edb0333d2cbd9677a9bb29fa94 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -95,6 +95,13 @@ Core and Builtins
 Library
 -------
 
+- Issue #25626: Change three zlib functions to accept sizes that fit in
+  Py_ssize_t, but internally cap those sizes to UINT_MAX.  This resolves a
+  regression in 3.5 where GzipFile.read() failed to read chunks larger than 2
+  or 4 GiB.  The change affects the zlib.Decompress.decompress() max_length
+  parameter, the zlib.decompress() bufsize parameter, and the
+  zlib.Decompress.flush() length parameter.
+
 - Issue #25583: Avoid incorrect errors raised by os.makedirs(exist_ok=True)
   when the OS gives priority to errors such as EACCES over EEXIST.