summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2019-11-16 16:56:57 (GMT)
committerGitHub <noreply@github.com>2019-11-16 16:56:57 (GMT)
commita0652328a26757a90d63697b5c01f5427b1132b5 (patch)
tree6cd0b03474130783b7319cf94a4ec56f99e28eee /Misc
parentbd44a7ead9f7336d7bb45f186b2b6ca0300154f7 (diff)
downloadcpython-a0652328a26757a90d63697b5c01f5427b1132b5.zip
cpython-a0652328a26757a90d63697b5c01f5427b1132b5.tar.gz
cpython-a0652328a26757a90d63697b5c01f5427b1132b5.tar.bz2
bpo-28286: Deprecate opening GzipFile for writing implicitly. (GH-16417)
Always specify the mode argument for writing.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-09-26-12-16-30.bpo-28286.LdSsrN.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-09-26-12-16-30.bpo-28286.LdSsrN.rst b/Misc/NEWS.d/next/Library/2019-09-26-12-16-30.bpo-28286.LdSsrN.rst
new file mode 100644
index 0000000..ee97215
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-09-26-12-16-30.bpo-28286.LdSsrN.rst
@@ -0,0 +1,2 @@
+Deprecate opening :class:`~gzip.GzipFile` for writing implicitly. Always
+specify the *mode* argument for writing.