Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #36307

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

References <tencent_6C37ED3974F3E81C56E5D98D@qq.com>
Date 2013-01-07 00:40 +0100
Subject Re: os.path.realpath(path) bug on win7 ?
From Victor Stinner <victor.stinner@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.199.1357515609.2939.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Victor
Le 6 janv. 2013 07:59, "iMath" <2281570025@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
>
>

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: os.path.realpath(path) bug on win7 ? Victor Stinner <victor.stinner@gmail.com> - 2013-01-07 00:40 +0100
  Re: os.path.realpath(path) bug on win7 ? iMath <redstone-cold@163.com> - 2013-01-07 01:13 -0800
  Re: os.path.realpath(path) bug on win7 ? iMath <redstone-cold@163.com> - 2013-01-07 01:13 -0800

csiph-web