[New-bugs-announce] [issue27180] Doc/pathlib: Please describe the behaviour of Path().rename() is depends on the platform (same as os.rename())
report at bugs.python.org
Thu Jun 2 07:18:19 EDT 2016
New submission from Masato HASHIMOTO:
The behavior of Path().rename() is same as os.rename() (replaces silently if dest file is already existent on Unix) but it's difficult to catch from current pathlib documentation (I found it from source of pathlib) from comparing with replace().
IMHO, it should be described on pathlilb documentation.
assignee: docs at python
nosy: docs at python, hashimo
title: Doc/pathlib: Please describe the behaviour of Path().rename() is depends on the platform (same as os.rename())
versions: Python 3.4, Python 3.5, Python 3.6
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce