Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove "U" mode from from_file's open() for 3.12 compatability. (#171)
The "U" file mode tells Python to read the file in "universal newlines" mode. This has been the default as of Python 3.0 and should be controlled from the newline keyword parameter which deprecated the "U" mode specifier. "U" was removed in Python 3.12 and now causes a ValueError if used.
- Loading branch information