Brian Curtin <cur...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue10540> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com