Armin Ronacher <armin.ronac...@active-4.com> added the comment:

While this is surprising, this is documented behavior:

"If the destination is on the current filesystem, then simply use
rename. Otherwise, copy src (with copy2()) to the dst and then remove src."

And copy2() uses copystat() and does not copy "contents, owner, and group".

----------
nosy: +aronacher

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

Reply via email to