[issue29805] Pathlib.replace cannot move file to a different drive on Windows if filename different

Brett Cannon report at bugs.python.org
Wed Mar 15 15:05:42 EDT 2017


Brett Cannon added the comment:

I should also mention that rename() (https://docs.python.org/3/library/pathlib.html#pathlib.Path.rename) and replace() (https://docs.python.org/3/library/pathlib.html#pathlib.Path.replace) already do exist, so it might be best to add a keyword-only flag to one of those for this use-case.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29805>
_______________________________________


More information about the Python-bugs-list mailing list