This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eryksun
Recipients Totte Karlsson, eryksun, paul.moore, steve.dower, tim.golden, zach.ware
Date 2019-02-26.02:32:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1551148330.8.0.406019661835.issue36112@roundup.psfhosted.org>
In-reply-to
Content
In Windows, realpath is currently an alias for abspath. Issue 14094 has a pending PR that implements realpath, but it's waiting on improved tests and final approval. I'm afraid it won't make it into 3.8.

I suggest using the resolve() method of a pathlib.Path. For example:

    >>> os.system('subst W: C:\\Windows')
    0
    >>> pathlib.Path('W:\\').resolve()
    WindowsPath('C:/Windows')
History
Date User Action Args
2019-02-26 02:32:10eryksunsetrecipients: + eryksun, paul.moore, tim.golden, zach.ware, steve.dower, Totte Karlsson
2019-02-26 02:32:10eryksunsetmessageid: <1551148330.8.0.406019661835.issue36112@roundup.psfhosted.org>
2019-02-26 02:32:10eryksunlinkissue36112 messages
2019-02-26 02:32:10eryksuncreate