[Python-checkins] bpo-37330: open(): "U" mode is removed in Python 3.9 (GH-16972)

Miss Skeleton (bot) webhook-mailer at python.org
Tue Oct 29 05:38:42 EDT 2019


https://github.com/python/cpython/commit/4cb08b6c0ae6989d169dd48c2b24087941f6d0b0
commit: 4cb08b6c0ae6989d169dd48c2b24087941f6d0b0
branch: 3.7
author: Miss Skeleton (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-10-29T02:38:37-07:00
summary:

bpo-37330: open(): "U" mode is removed in Python 3.9 (GH-16972)


Update open() documentation.
(cherry picked from commit 1d2862a323ae1387e306942253b1e487018e2b7f)

Co-authored-by: Victor Stinner <vstinner at python.org>

files:
M Doc/library/functions.rst

diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 06ba323ca30c6..ff51a4a32cc57 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -1173,7 +1173,7 @@ are always available.  They are listed here in alphabetical order.
 
          * The file is now non-inheritable.
 
-   .. deprecated-removed:: 3.4 4.0
+   .. deprecated-removed:: 3.4 3.9
 
       The ``'U'`` mode.
 



More information about the Python-checkins mailing list