Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #36229 > unrolled thread
| Started by | Chris Rebert <clp2@rebertia.com> |
|---|---|
| First post | 2013-01-05 23:06 -0800 |
| Last post | 2013-01-06 00:11 -0800 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: os.path.realpath(path) bug on win7 ? Chris Rebert <clp2@rebertia.com> - 2013-01-05 23:06 -0800
Re: os.path.realpath(path) bug on win7 ? iMath <redstone-cold@163.com> - 2013-01-06 00:11 -0800
Re: os.path.realpath(path) bug on win7 ? iMath <redstone-cold@163.com> - 2013-01-06 00:11 -0800
| From | Chris Rebert <clp2@rebertia.com> |
|---|---|
| Date | 2013-01-05 23:06 -0800 |
| Subject | Re: os.path.realpath(path) bug on win7 ? |
| Message-ID | <mailman.158.1357455979.2939.python-list@python.org> |
On Sat, Jan 5, 2013 at 10:55 PM, iMath <2281570025@qq.com> wrote:
>
> 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 ?
What does os.path.islink('C:/Users/SAMSUNG/Temp.link') report?
Cheers,
Chris
[toc] | [next] | [standalone]
| From | iMath <redstone-cold@163.com> |
|---|---|
| Date | 2013-01-06 00:11 -0800 |
| Message-ID | <840d171b-342b-4a85-be0e-e7a7b490c8b6@googlegroups.com> |
| In reply to | #36229 |
在 2013年1月6日星期日UTC+8下午3时06分10秒,Chris Rebert写道:
> On Sat, Jan 5, 2013 at 10:55 PM, iMath <2281570025@qq.com> wrote:
>
> >
>
> > 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 ?
>
>
>
> What does os.path.islink('C:/Users/SAMSUNG/Temp.link') report?
True
>
>
>
> Cheers,
>
> Chris
[toc] | [prev] | [next] | [standalone]
| From | iMath <redstone-cold@163.com> |
|---|---|
| Date | 2013-01-06 00:11 -0800 |
| Message-ID | <mailman.159.1357459914.2939.python-list@python.org> |
| In reply to | #36229 |
在 2013年1月6日星期日UTC+8下午3时06分10秒,Chris Rebert写道:
> On Sat, Jan 5, 2013 at 10:55 PM, iMath <2281570025@qq.com> wrote:
>
> >
>
> > 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 ?
>
>
>
> What does os.path.islink('C:/Users/SAMSUNG/Temp.link') report?
True
>
>
>
> Cheers,
>
> Chris
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web