os.path.realpath(path) bug on win7 ?
iMath
redstone-cold at 163.com
Mon Jan 7 04:13:31 EST 2013
在 2013年1月7日星期一UTC+8上午7时40分06秒,Victor Stinner写道:
> It looks like the following issue:
>
> http://bugs.python.org/issue14094
>
> Victor
>
> Le 6 janv. 2013 07:59, "iMath" <22815... 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
perhaps it is
More information about the Python-list
mailing list