STINNER Victor added the comment:

Ah, on Linux rename() also fails if src and dst are on two different 
filesystems: OSError: [Errno 18] Invalid cross-device link.

By the way, the Python document doesn't say anything about operation on two 
different filesystems :-/
https://docs.python.org/dev/library/os.html#os.rename

----------

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

Reply via email to