Heikki Toivonen <hjtoi-bugzi...@comcast.net> added the comment: You can't solve this by trying to do different things on different operating systems. This bug depends on file system properties, not OS.
Also I don't think you can just lower case the path and do a comparison, because there are funky characters that don't round trip lower->upper->lower. And you certainly can't do this for just the last component of the path name - any component of the path could have changed case. I still think the best avenue would be to first try straight os.rename, and if that fails (maybe only if target exists), the logic that is currently in shutil.move. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10684> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com