[issue10540] test_shutil fails on Windows after r86733
Brian Curtin
report at bugs.python.org
Fri Nov 26 17:53:45 CET 2010
Brian Curtin <curtin at acm.org> added the comment:
Here is a patch.
os.path.samefile and hard links don't work for Windows the same way they do for Mac/Linux. In the case where we are on Windows and a link comes into the _samefile function, check that it's a link and then use os.path.sameopenfile. If it's not a link but a regular file, or it's some other OS, do the os.path.samefile check.
----------
keywords: +patch
nosy: +tarek
Added file: http://bugs.python.org/file19826/issue10540.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10540>
_______________________________________
More information about the Python-bugs-list
mailing list