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@python
components: Documentation
messages: 266883
nosy: docs@python, hashimo
priority: normal
severity: normal
status: open
title: Doc/pathlib: Please describe the behaviour of Path().rename()  is 
depends on the platform (same as os.rename())
type: enhancement
versions: Python 3.4, Python 3.5, Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27180>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to