bpo-37330: open() no longer accept 'U' in file mode by vstinner · Pull Request #16959 · python/cpython
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.
test_fileinput: add tests for 'rU' and 'U' modes
Run make regen-all.
vstinner
deleted the
remove_open_universal2
branch
jacobneiltaylor pushed a commit to jacobneiltaylor/cpython that referenced this pull request
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request
This was referenced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters