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 heikki
Recipients brian.curtin, heikki, nooB, tarek, tim.golden
Date 2011-01-24.20:47:42
SpamBayes Score 9.894561e-05
Marked as misclassified No
Message-id <1295902062.97.0.468642669056.issue10684@psf.upfronthosting.co.za>
In-reply-to
Content
I also noticed this last week. However, this is not Windows specific. It happens with file systems that are not case sensitive. Besides Windows (NTFS, FAT*) the other common platform is Macintosh (HFS+ with default settings).

What happens is that we copy source into itself, then delete source.

I am not sure what the optimal solution would be but an easy one would be to first try os.rename (which works in this case), but if that fails then do the stuff that is currently shutil.move.
History
Date User Action Args
2011-01-24 20:47:43heikkisetrecipients: + heikki, tim.golden, tarek, brian.curtin, nooB
2011-01-24 20:47:42heikkisetmessageid: <1295902062.97.0.468642669056.issue10684@psf.upfronthosting.co.za>
2011-01-24 20:47:42heikkilinkissue10684 messages
2011-01-24 20:47:42heikkicreate