Message 337100 - Python tracker

Message337100

Author lys.nikolaou
Recipients docs@python, lys.nikolaou
Date 2019-03-04.12:51:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1551703881.69.0.0731434428442.issue36182@roundup.psfhosted.org>
In-reply-to
Content
Hi,

in the pathlib.Path.write_bytes() documentation it is clearly stated that "An existing file of the same name is overwritten." Wouldn't it make sense to include something similar to the pathlib.Path.write_text() docs. I had to quickly test it manually to find out what's happening as it wasn't clear to me if the statement applies to write_text() as well.
History
Date User Action Args
2019-03-04 12:51:21lys.nikolaousetrecipients: + lys.nikolaou, docs@python
2019-03-04 12:51:21lys.nikolaousetmessageid: <1551703881.69.0.0731434428442.issue36182@roundup.psfhosted.org>
2019-03-04 12:51:21lys.nikolaoulinkissue36182 messages
2019-03-04 12:51:21lys.nikolaoucreate