Author asvetlov
Recipients asvetlov, docs@python, pitrou, r.david.murray
Date 2016-08-28.20:03:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Just keeping the reference to `os.rename()`:

Aha, `os.rename` says: "On Unix, if dst exists and is a file, it will be replaced silently if the user has permission." and "On Windows, if dst already exists, OSError will be raised even if it is a file."

Sorry, I've missed this.

Maybe it worth to add `.. warning:` section for both `os.rename` and `pathlib.Path.rename`?
Date User Action Args
2016-08-28 20:03:34asvetlovsetrecipients: + asvetlov, pitrou, r.david.murray, docs@python
2016-08-28 20:03:34asvetlovsetmessageid: <>
2016-08-28 20:03:34asvetlovlinkissue27886 messages
2016-08-28 20:03:34asvetlovcreate