You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2007-06-26.03:51:20.000>created_at=<Date2007-06-16.18:25:23.000>labels= ['library']
title="shutil.move doesn't work when only case changes"updated_at=<Date2007-06-26.03:51:20.000>user='https://bugs.python.org/ggambett'
shutil.move() appears to fail silently when the source and destination filenames only differ in case (ie "SomeFile" and "Somefile"). This is with python 2.4.3-18.fc6, on a case-sensitive filesystem (ext3), so this rename *is* meaningful.
I guess, this should be very much python 2.4.3-18.fc6 specific. While I have python 2.3.4, python 2.5, python 2.6a0. I am unable to reproduce this defect. Having said that, help(shutil.move) mentions about the various issues of moving the implementation glosses over.
Please provide some more details or anyone with python 2.4.3-18 should be able to verify it.
Sorry, my bad. This happened in a FAT volume mounted somewhere in an ext3 tree so the rename wasn't meaningful within the volume. Still doing shutil.move(source, "__temp__") and shutil.move("__temp__", dest) did achieve the result I wanted.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: