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

Discussion in 'Python' started by Victor Stinner, Jan 6, 2013.

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

    Victor
    Le 6 janv. 2013 07:59, "iMath" <> 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
    >
    >
    Victor Stinner, Jan 6, 2013
    #1
    1. Advertising

  2. Victor Stinner

    iMath Guest

    在 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" <> 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
    iMath, Jan 7, 2013
    #2
    1. Advertising

  3. Victor Stinner

    iMath Guest

    在 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" <> 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
    iMath, Jan 7, 2013
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Peng Yu
    Replies:
    0
    Views:
    463
    Peng Yu
    Oct 31, 2009
  2. Peng Yu
    Replies:
    0
    Views:
    540
    Peng Yu
    Oct 31, 2009
  3. Jurko Gospodnetiæ

    os.path.realpath() and os.path.abspath()

    Jurko Gospodnetiæ, Jan 11, 2011, in forum: Python
    Replies:
    1
    Views:
    511
    Adam Skutt
    Jan 12, 2011
  4. Chris Rebert

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

    Chris Rebert, Jan 6, 2013, in forum: Python
    Replies:
    2
    Views:
    147
    iMath
    Jan 6, 2013
  5. iMath
    Replies:
    0
    Views:
    106
    iMath
    Jan 6, 2013
Loading...

Share This Page