[issue10684] Folders get deleted when trying to change case with shutil.move (case insensitive file systems only)

Ronald Oussoren report at bugs.python.org
Fri May 6 16:37:42 CEST 2011


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

I'm not sure what the right course of action is, revert my patch try to get ntpath.samefile fixed and then reapply my patch or something else?

ntpath.samefile is definitely broken on XP:

* Create a file "a.txt"
* Start python3.2
  >>> os.path.samefile("a.txt", "A.TXT")
  False

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10684>
_______________________________________


More information about the Python-bugs-list mailing list