[issue23706] pathlib.Path.write_text should include a newline argument

2020-09-30 Thread Maxim Burov
Maxim Burov added the comment: CLA signed now and PR is ready :) -- ___ Python tracker <https://bugs.python.org/issue23706> ___ ___ Python-bugs-list mailin

[issue23706] pathlib.Path.write_text should include a newline argument

2020-09-27 Thread Maxim Burov
Maxim Burov added the comment: For the newline parameter, what is the expected behaviour? To work as newline from io.open() which supports only so called "legal" newlines which are: None, '', '\n', '\r', and '\r\n', or to allow users use

[issue23706] pathlib.Path.write_text should include a newline argument

2020-09-26 Thread Maxim Burov
Change by Maxim Burov : -- keywords: +patch nosy: +maksvenberv nosy_count: 5.0 -> 6.0 pull_requests: +21458 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/22420 ___ Python tracker <https://bugs.p