summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2019-05-13 07:50:52 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2019-05-13 07:50:52 (GMT)
commitcf599f6f6f1c392d8f12936982a370d533782195 (patch)
treeda53ae10a41332d3e52c38cd3603c36dcb4329cd /Doc/whatsnew
parentd28772ab6967fea136c0707f0207673ebad66f61 (diff)
downloadcpython-cf599f6f6f1c392d8f12936982a370d533782195.zip
cpython-cf599f6f6f1c392d8f12936982a370d533782195.tar.gz
cpython-cf599f6f6f1c392d8f12936982a370d533782195.tar.bz2
bpo-6584: Add a BadGzipFile exception to the gzip module. (GH-13022)
Co-Authored-By: Filip Gruszczyński <gruszczy@gmail.com> Co-Authored-By: Michele Orrù <maker@tumbolandia.net>
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.8.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index 2cfb110..684656f 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -304,6 +304,11 @@ gzip
Added the *mtime* parameter to :func:`gzip.compress` for reproducible output.
(Contributed by Guo Ci Teo in :issue:`34898`.)
+A :exc:`~gzip.BadGzipFile` exception is now raised instead of :exc:`OSError`
+for certain types of invalid or corrupt gzip files.
+(Contributed by Filip Gruszczyński, Michele Orrù, and Zackery Spytz in
+:issue:`6584`.)
+
idlelib and IDLE
----------------