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

2010-06-19 Thread R. David Murray
Changes by R. David Murray : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

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

2010-06-19 Thread R. David Murray
R. David Murray 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 _

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

2010-06-19 Thread R. David Murray
R. David Murray 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: -> committed/reject

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

2010-06-19 Thread Shashwat Anand
Shashwat Anand 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 is worth it but the scale

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

2010-06-19 Thread R. David Murray
R. David Murray added the comment: Your different issue looks like a correct result to me. ~ is not automatically expanded. -- nosy: +r.david.murray ___ Python tracker ___

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

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

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

2010-06-19 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

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

2010-06-19 Thread Shashwat Anand
Changes by Shashwat Anand : -- nosy: +l0nwlf, loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

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

2010-06-19 Thread Mark Lawrence
Mark Lawrence 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

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

2008-12-13 Thread dirlt
New submission from dirlt : 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 /home/share/temp/a 3./home