Brian Curtin <cur...@acm.org> added the comment: Here's a patch of the functionality. The doc change is small and easy, I'll add it shortly.
One oddity is that os.path.samefile is False for a link and its source, but True for a symlink and its source. I find that to be quite odd, but stepping through the code I don't see where this is anything we are doing. I haven't been able to figure out if this is really expected behavior from Windows. When the files are open, os.path.sameopenfile shows that the link and its source are the same, which is expected. ---------- keywords: +needs review, patch stage: needs patch -> patch review Added file: http://bugs.python.org/file18982/issue8879.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8879> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com