[issue1577] shutil.move() does not use os.rename() if dst is a directory

Raghuram Devarakonda report at bugs.python.org
Tue Jan 22 23:19:20 CET 2008


Raghuram Devarakonda added the comment:

`shutil.move(source_file, destination_dir)` does move source_file to
destination_dir but the point is that even when source and destinations
are on the same file system, it still "copies" the data when there is no
need for it. The reason is explained in the very first comment.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1577>
__________________________________


More information about the Python-bugs-list mailing list