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

Dave Burton report at bugs.python.org
Sun Mar 11 05:03:25 CET 2012


Dave Burton <ncdave4life at gmail.com> added the comment:

Excellent!

The ntpath.py change is nearly identical in Python 2.7 to the change for Python 3.2.  The only difference is that instead of:

+        elif isinstance(path, bytes):
+            path = os.getcwdb()

It is:

+        elif isinstance(path, unicode):
+            path = os.getcwdu()

----------

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


More information about the Python-bugs-list mailing list