]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39674: Revert "bpo-37330: open() no longer accept 'U' in file mode (GH-16959...
authorVictor Stinner <vstinner@python.org>
Wed, 4 Mar 2020 17:50:22 +0000 (18:50 +0100)
committerGitHub <noreply@github.com>
Wed, 4 Mar 2020 17:50:22 +0000 (18:50 +0100)
commit942f7a2dea2e95a0fa848329565c0d0288d92e47
tree31abda8d45ef676a46ea63a6a8a61ccf6061e9c5
parent00c77ae55a82548a6b45af73cdf712ea34910645
bpo-39674: Revert "bpo-37330: open() no longer accept 'U' in file mode (GH-16959)" (GH-18767)

This reverts commit e471e72977c83664f13d041c78549140c86c92de.

The mode will be removed from Python 3.10.
13 files changed:
Doc/library/codecs.rst
Doc/library/fileinput.rst
Doc/library/functions.rst
Doc/whatsnew/3.9.rst
Lib/_pyio.py
Lib/fileinput.py
Lib/imp.py
Lib/test/test_codecs.py
Lib/test/test_fileinput.py
Lib/test/test_io.py
Misc/NEWS.d/next/Library/2020-03-03-16-21-41.bpo-39674.HJVkD5.rst [new file with mode: 0644]
Modules/_io/_iomodule.c
Modules/_io/clinic/_iomodule.c.h