This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Todd.Rovito
Recipients David.Benjamin, Todd.Rovito, asvetlov, chris.jerdonek, docs@python
Date 2012-10-31.04:03:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1351656185.51.0.0533999868266.issue16278@psf.upfronthosting.co.za>
In-reply-to
Content
While writing test cases I discovered another conflict with the documentation.  The phrase "On Unix, if dst exists and is a file, it will be replaced silently if the user has permission and src is a file." is not correct.  According to the test cases I wrote in the attached patch see the method test_rename_src_file_dest_file_exists in the class FileTests the destination file is not replaced and the source file actually is removed.  I will seek advice from Python Core Mentorship to see if this is a bug or normal behavior. 

First time writing test cases so I hope I am on the right track.
History
Date User Action Args
2012-10-31 04:03:05Todd.Rovitosetrecipients: + Todd.Rovito, asvetlov, chris.jerdonek, docs@python, David.Benjamin
2012-10-31 04:03:05Todd.Rovitosetmessageid: <1351656185.51.0.0533999868266.issue16278@psf.upfronthosting.co.za>
2012-10-31 04:03:05Todd.Rovitolinkissue16278 messages
2012-10-31 04:03:05Todd.Rovitocreate