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

Antoine Pitrou report at bugs.python.org
Tue Jan 22 23:05:12 CET 2008


Antoine Pitrou added the comment:

I don't see where there is a change in semantics. Today,
`shutil.move(source_file, destination_dir)` already moves source_file
inside the destination_dir (it doesn't replace the latter with the former).
Is there a misunderstanding?

----------
nosy: +pitrou
versions: +Python 2.6 -Python 2.5

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


More information about the Python-bugs-list mailing list