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 ?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <victor.stinner@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.015
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'subject:bug': 0.05; 'skip:o 50': 0.07; 'issue:': 0.09; 'bug': 0.10; 'cc:addr:python- list': 0.10; "skip:' 30": 0.15; 'cc:name:python list': 0.16; 'win7': 0.16; '\xc3\xa9crit\xc2\xa0:': 0.16; '8bit%:3': 0.17; 'skip:i 40': 0.17; '>>>': 0.18; 'subject:) ': 0.20; 'symbolic': 0.22; 'cc:2**0': 0.23; 'url:bugs': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'looks': 0.26; 'skip:& 60': 0.27; 'message-id:@mail.gmail.com': 0.27; 'received:209.85.212': 0.28; '8bit%:25': 0.29; 'url:mailman': 0.29; 'skip:& 10': 0.29; 'subject: ?': 0.30; 'url:python': 0.32; 'url:listinfo': 0.32; 'anyone': 0.33; 'received:google.com': 0.34; 'clear': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'url:org': 0.36; 'should': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'skip:o 20': 0.38; 'url:mail': 0.40; 'link': 0.60; '8bit%:20': 0.62; '2013': 0.84; '8bit%:24': 0.84; 'subject:skip:o 10': 0.84; 'victor': 0.84; '8bit%:42': 0.95
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=NetLgk31LhxBrY8XMXJNCNmMgRUX1wB8HopNysPvZpM=; b=rnfXNTRKmxfP2xSpCNeMAwxq0JMDomlFZbFxt7kWgHGXddW1nIxeAntuEf8yt8f4wD 9Bnk/rbDKs5DCQLMucULYx/lWBsOxkXrSGfAy1j6DpPWSBPUbTm6Sjt0RVUe6rjebhdb y2zboZv8fkFEhv3EIen0qobk7wYXs4v30TRQ96q+soHFMhMpXIxWgKnMQQFgVndaIlv7 ch+186Mq1C6P/MCJGWAANcn33SoNVk87aod7BlPYT6Z2cFgEi1N5OwKNFwWh7R6r8Fou /W6wU3cl7zM7Npx5IP53LlKKyITIJ7yrcFyDXp+9VyGAty/aMLnAMH32jkY+S719WvHH oQVg==
MIME-Version 1.0
In-Reply-To <tencent_6C37ED3974F3E81C56E5D98D@qq.com>
References <tencent_6C37ED3974F3E81C56E5D98D@qq.com>
Date Mon, 7 Jan 2013 00:40:06 +0100
Subject Re: os.path.realpath(path) bug on win7 ?
From Victor Stinner <victor.stinner@gmail.com>
To iMath <2281570025@qq.com>
Content-Type multipart/alternative; boundary=20cf307d01828776f304d2a73b38
Cc Python List <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.199.1357515609.2939.python-list@python.org> (permalink)
Lines 55
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1357515609 news.xs4all.nl 6939 [2001:888:2000:d::a6]:45222
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:36307

Show key headers only | 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