[issue4654] os.path.realpath() get the wrong result
Shashwat Anand
report at bugs.python.org
Sat Jun 19 20:58:35 CEST 2010
Shashwat Anand <anand.shashwat at gmail.com> added the comment:
No such issue on python 2.6, 2.7, 3.2.
>>> print(os.path.realpath('/Users/l0nwlf/Desktop/tmp/../decotest.lnk'))
/Users/l0nwlf/Desktop/decotest.lnk
I think this issue can be closed.
However, I came with a different issue while testing on 2.6, trunk and 3.2.
>>> print(os.path.realpath('~/Desktop/tmp/../decotest.lnk'))
/Volumes/CoreHD/py3k/~/Desktop/decotest.lnk
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4654>
_______________________________________
More information about the Python-bugs-list
mailing list