[issue9949] os.path.realpath on Windows does not follow symbolic links

Daniel Harding report at bugs.python.org
Sun Jun 3 22:04:50 CEST 2012


Daniel Harding <dharding at gmail.com> added the comment:

The previous version of this patch did not handle bytes arguments correctly and could fail in conjunction with a non-ASCII compatible encoding.  Also, if the result was a UNC path, it was not being handled correctly (the returned value would have started with a single backslash, not two).  Version 3 of the patch fixes these issues.  I am also attaching a single, condensed patch as requested by the Lifecycle of a Patch devguide.  I can also provide a patch series as before if desired.

----------
keywords: +patch
Added file: http://bugs.python.org/file25810/issue9949-v3.patch

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


More information about the Python-bugs-list mailing list