This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author daniel.ugra
Recipients daniel.ugra
Date 2015-03-19.09:32:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426757561.17.0.481870343329.issue23706@psf.upfronthosting.co.za>
In-reply-to
Content
The new pathlib.Path [read|write]_[binary|text] methods will be very useful, one thing I miss badly is the newline argument for write_text.

In some cases text files need a specific line ending (independent from the platform the code is being executed on.) In my mind this is analogous to passing an explicit encoding argument.

Of course, one can always use built-in open for this scenario. It would be a nice addition anyway :)
History
Date User Action Args
2015-03-19 09:32:41daniel.ugrasetrecipients: + daniel.ugra
2015-03-19 09:32:41daniel.ugrasetmessageid: <1426757561.17.0.481870343329.issue23706@psf.upfronthosting.co.za>
2015-03-19 09:32:41daniel.ugralinkissue23706 messages
2015-03-19 09:32:40daniel.ugracreate