[issue12577] Misleading shutil.move docs regarding when os.rename is used

2011-07-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 62048a6eb43c by Senthil Kumaran in branch '3.2': Fix closes issue12577 - clarify shutil.move documentation. Patch suggestion by Catalin Iacob http://hg.python.org/cpython/rev/62048a6eb43c New changeset 912b97ee40a7 by Senthil Kumaran in branch 'de

[issue12577] Misleading shutil.move docs regarding when os.rename is used

2011-07-18 Thread Catalin Iacob
Catalin Iacob added the comment: Senthil's proposal in msg140543 has +1 from me. -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue12577] Misleading shutil.move docs regarding when os.rename is used

2011-07-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: Should information on Windows behavior, which you experienced be included too? How about - It uses :func:`os.rename` to perform the move. If that fails, for example because src and dst are on different filesystems or in case of Windows where rename cannot b

[issue12577] Misleading shutil.move docs regarding when os.rename is used

2011-07-17 Thread Catalin Iacob
Catalin Iacob added the comment: Attached patch which clarifies that the copy fallback is used whenever os.rename fails not just for the different filesystems case. -- keywords: +patch Added file: http://bugs.python.org/file22679/clarify-shutil.move-docs.patch

[issue12577] Misleading shutil.move docs regarding when os.rename is used

2011-07-17 Thread Catalin Iacob
New submission from Catalin Iacob : I recently tried to answer the question: "When moving a file to a destination that is an already existing file, is the destination overwritten?" >From the current docs I understood that if src and dst are on the same >filesystem then os.rename is used, if th