You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
I have not found any prior discussions or mentions of newline argument being supported for read_text outside of the initial pathlib API discussion (#64417 (comment)).
Feature or enhancement
Proposal:
Support for a
newline
argument was added to thewrite_text
method in Python 3.10 (issue #67894).I've been using this method but I've found a need for a
newline
method forread_text
as well.Here's the scenario where this would be handy (namely reading and writing the original newlines):
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
I have not found any prior discussions or mentions of
newline
argument being supported forread_text
outside of the initial pathlib API discussion (#64417 (comment)).Linked PRs
The text was updated successfully, but these errors were encountered: