[issue8879] Implement os.link on Windows

Brian Curtin report at bugs.python.org
Thu Sep 23 23:27:10 CEST 2010


Brian Curtin <curtin at 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 <report at bugs.python.org>
<http://bugs.python.org/issue8879>
_______________________________________


More information about the Python-bugs-list mailing list