os.path.realpath(path) bug on win7 ?

Victor Stinner victor.stinner at gmail.com
Mon Jan 7 00:40:06 CET 2013


It looks like the following issue:
http://bugs.python.org/issue14094

Victor
Le 6 janv. 2013 07:59, "iMath" <2281570025 at qq.com> a écrit :

> os.path.realpath(path)  bug on win7 ?
>
> Temp.link is a Symbolic link
> Its target location is C:\test\test1
> But
> >>> os.path.realpath(r'C:\Users\SAMSUNG\Temp.link\test2')
> 'C:\\Users\\SAMSUNG\\Temp.link\\test2'
>
> I thought the return value should be ' C:\\test\\test1\\test2'
>
> Is it a bug ? anyone can clear it to me ?
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130107/a0f5da2b/attachment.html>


More information about the Python-list mailing list