summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2019-10-28 14:40:08 (GMT)
committerGitHub <noreply@github.com>2019-10-28 14:40:08 (GMT)
commite471e72977c83664f13d041c78549140c86c92de (patch)
treefeddc2c15e7199122f6f59992de0dab8f73b6149 /Misc/NEWS.d/next
parent3bfc8e0fcc707d200c267ff05b052fd6a63c985a (diff)
downloadcpython-e471e72977c83664f13d041c78549140c86c92de.zip
cpython-e471e72977c83664f13d041c78549140c86c92de.tar.gz
cpython-e471e72977c83664f13d041c78549140c86c92de.tar.bz2
bpo-37330: open() no longer accept 'U' in file mode (GH-16959)
open(), io.open(), codecs.open() and fileinput.FileInput no longer accept "U" ("universal newline") in the file mode. This flag was deprecated since Python 3.3.
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2019-06-18-17-53-06.bpo-37330.wAvHmz.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-06-18-17-53-06.bpo-37330.wAvHmz.rst b/Misc/NEWS.d/next/Core and Builtins/2019-06-18-17-53-06.bpo-37330.wAvHmz.rst
new file mode 100644
index 0000000..aec6d01
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2019-06-18-17-53-06.bpo-37330.wAvHmz.rst
@@ -0,0 +1,3 @@
+:func:`open`, :func:`io.open`, :func:`codecs.open` and
+:class:`fileinput.FileInput` no longer accept ``'U'`` ("universal newline") in
+the file mode. This flag was deprecated since Python 3.3.