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 ishimoto
Recipients BreamoreBoy, anthonybaxter, eric.araujo, gennad, hynek, ishimoto, nnorwitz, pitrou, tarek, zooko
Date 2012-07-16.13:56:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1342446973.98.0.361028990494.issue1492704@psf.upfronthosting.co.za>
In-reply-to
Content
So, the title of this issue is misleading.

The patch originally proposed by Zooko does not raise SameFileError in
shutil.move(). If source and destination is same file, shutil.move() may
raise exception, but the exception is NOT SameFileError but OSError or something.

shutil.copy() raises SameFileError if source and destination is same file.
History
Date User Action Args
2012-07-16 13:56:14ishimotosetrecipients: + ishimoto, nnorwitz, anthonybaxter, zooko, pitrou, tarek, eric.araujo, BreamoreBoy, gennad, hynek
2012-07-16 13:56:13ishimotosetmessageid: <1342446973.98.0.361028990494.issue1492704@psf.upfronthosting.co.za>
2012-07-16 13:56:13ishimotolinkissue1492704 messages
2012-07-16 13:56:13ishimotocreate