Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Sep 1, 2021

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.

https://bugs.python.org/issue37330

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.
@vstinner
Copy link
Member Author

vstinner commented Sep 2, 2021

@ambv: Thanks for the merge. Let's see how it goes. In the worst case, we have time before Python 3.11 final to revert it one more time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants