[issue4654] os.path.realpath() get the wrong result

2010-06-19 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: An issue with Python 2.3, can this be closed or is it still a problem with Python 2.7 or any of the Python 3 versions? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org

[issue4654] os.path.realpath() get the wrong result

2010-06-19 Thread Shashwat Anand
Changes by Shashwat Anand anand.shash...@gmail.com: -- nosy: +l0nwlf, loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4654 ___ ___

[issue4654] os.path.realpath() get the wrong result

2010-06-19 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4654 ___ ___ Python-bugs-list

[issue4654] os.path.realpath() get the wrong result

2010-06-19 Thread Shashwat Anand
Shashwat Anand anand.shash...@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

[issue4654] os.path.realpath() get the wrong result

2010-06-19 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Your different issue looks like a correct result to me. ~ is not automatically expanded. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4654

[issue4654] os.path.realpath() get the wrong result

2010-06-19 Thread Shashwat Anand
Shashwat Anand anand.shash...@gmail.com added the comment: By different issue I meant expected but non-useful output. Although it does exactly what it is supposed to do, but expanding tilde (~) to $HOME could have been the default behavior(more user-friendly I should say). Don't know if that

[issue4654] os.path.realpath() get the wrong result

2010-06-19 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I can confirm this works correctly on 32 bit Linux under 2.6.4. Since it is unlikely the width matters to this issue I'm going to close it. If anyone has a case where it fails we can reopen. -- resolution: - out of date stage:

[issue4654] os.path.realpath() get the wrong result

2010-06-19 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Somebody long ago made the decision that ~ is only expanded if you call expanduser. I don't think this decision is likely to get changed. -- ___ Python tracker rep...@bugs.python.org

[issue4654] os.path.realpath() get the wrong result

2010-06-19 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4654 ___ ___

[issue4654] os.path.realpath() get the wrong result

2008-12-13 Thread dirlt
New submission from dirlt zhang_...@baidu.com: I found the problem when i install a small tool which I wrote on the each machine in the company.the problem is simplified as follows: there are three files 1./home/share/temp/a a regular file 2./home/share/a.lnk which is symbolic link to the