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

Eryk Sun report at bugs.python.org
Mon Mar 13 22:11:17 EDT 2017


Eryk Sun added the comment:

Moving a file across volumes isn't atomic. Getting an exception in this case can be useful. There could be a "strict" keyword-only parameter that defaults to False. If it's true, then replace() won't try to move the file.

----------
nosy: +eryksun

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


More information about the Python-bugs-list mailing list