[issue10684] Folders get deleted when trying to change case with shutil.move (case insensitive file systems only)
Brian Curtin
report at bugs.python.org
Fri May 6 16:46:40 CEST 2011
Brian Curtin <brian at python.org> added the comment:
On XP, os.path.samefile is really "os.path.abspath(x) == os.path.abspath(y)", which does not work correctly with different cases. We could add a ".lower()" to line 657 of Lib/ntpath.py so the abspath is always returned in lower, so the XP version of samefile compares two lower case strings.
On versions after XP, this isn't an issue.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10684>
_______________________________________
More information about the Python-bugs-list
mailing list