[Python-Dev] [Python-checkins] cpython: Issue #9993: When the source and destination are on different filesystems,

Nick Coghlan ncoghlan at gmail.com
Sun Jan 8 01:32:10 CET 2012

On Sun, Jan 8, 2012 at 4:00 AM, Antoine Pitrou <solipsis at pitrou.net> wrote:
> I'm not sure it was *well* defined (or even defined at all). It seems
> more of a by-product of the implementation. It's not only different
> from mv, but it's inconsistent with itself (the semantics are different
> depending on whether the paths are on the same filesystem or not;
> also, it copied the *file* but erased the *link*).

Yeah, Hynek's explanation pointing out the existing inconsistencies
made sense to me. I have to agree with the point that
symlinks+removable media are almost inevitably going to create
weirdness that isn't easily handled by any means other than
"symlinks=False" :P


Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

More information about the Python-Dev mailing list