[issue8828] Atomic function to rename a file
STINNER Victor
report at bugs.python.org
Thu Jun 10 00:46:21 CEST 2010
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
About the function names:
- shutil.atomic_move_file(): only available on some OS
- shutil.move_file(): use shutil.atomic_move_file() if available, or fall back to a best effort implementation
Implement an atomic function to rename a directory is more complex and should be done in another issue. That's why I added "_file" suffix.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8828>
_______________________________________
More information about the Python-bugs-list
mailing list