I just noticed that the universal newline feature of file operations seems to be on its way out.
The documentation for Python 3.5
mode parameter indicates that it's deprecated:
'U'universal newlines mode (deprecated)
At least as far back as Python 3.2,
open contains a similar "backwards compatibility only" warning when documenting the usage of the
'U'universal newlines mode (for backwards compatibility; should not be used in new code)
Even in Python 2.7, a similar warning is placed in the documentation of
What's the reason for this?