Bugs item #1738441, was opened at 2007-06-16 15:25 Message generated for change (Comment added) made by ggambett You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1738441&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Python Library Group: Python 2.4 >Status: Closed Resolution: None Priority: 5 Private: No Submitted By: Gabriel Gambetta (ggambett) Assigned to: Nobody/Anonymous (nobody) Summary: shutil.move doesn't work when only case changes Initial Comment: 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. ---------------------------------------------------------------------- >Comment By: Gabriel Gambetta (ggambett) Date: 2007-06-26 00:51 Message: Logged In: YES user_id=517400 Originator: YES 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. ---------------------------------------------------------------------- Comment By: Georg Brandl (gbrandl) Date: 2007-06-19 09:40 Message: Logged In: YES user_id=849994 Originator: NO This is quite strange. Gabriel, could you try to use another Python version provided by Fedora, or even a self-compiled one? ---------------------------------------------------------------------- Comment By: O.R.Senthil Kumaran (orsenthil) Date: 2007-06-17 02:08 Message: Logged In: YES user_id=942711 Originator: NO 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1738441&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com