Roundup Robot added the comment:
New changeset e5de4ee6aa4a by Benjamin Peterson in branch '3.4':
clarify behavior of shutil.move when destination exists (closes #22933)
https://hg.python.org/cpython/rev/e5de4ee6aa4a
New changeset 4502e598fe26 by Benjamin Peterson in branch '2.7':
clarify
Changes by Mike Short bmsh...@gmail.com:
Added file: http://bugs.python.org/file38628/shutil_latest.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22933
___
Changes by Mike Short bmsh...@gmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file38627/shutil_2.7.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22933
___
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +berker.peksag
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22933
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
keywords: +easy
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22933
___
New submission from newbie:
First sentence of 3rd paragraph of 10.10. shutil documentation for
shutil.move command, The destination directory must not already exist, is
misleading and contradicts other information in the entry. I took it to mean
that if dst did not exist, python would create
R. David Murray added the comment:
I think you are correct that that sentence should just be deleted. The
preceding sentence should start If the destination is an existing directory...
I also wonder if shutil should be changed to use os.replace, but that is a
separate issue.
--