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 paul.moore
Recipients 45757, ChrisBarker, brett.cannon, docs@python, paul.moore
Date 2020-02-10.14:32:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1581345130.04.0.0711075703321.issue39090@roundup.psfhosted.org>
In-reply-to
Content
> In short -- I understand that this is a complex issue, but making an absolute path is a pretty common use case, and we've had os.path.abspath() for decades, so there should be one obvious way to do it, and it should be easily discoverable.

+1 on this.

Given that (as far as I can tell from the various discussions) `resolve` works fine as long as the file exists, maybe the key distinction to make is whether you have an existing file or not.

(More subtle questions like UNC path vs drive letter, mentioned on the Discourse thread, are probably things that we can defer to a "more advanced cases" discussion in the docs).
History
Date User Action Args
2020-02-10 14:32:10paul.mooresetrecipients: + paul.moore, brett.cannon, docs@python, ChrisBarker, 45757
2020-02-10 14:32:10paul.mooresetmessageid: <1581345130.04.0.0711075703321.issue39090@roundup.psfhosted.org>
2020-02-10 14:32:10paul.moorelinkissue39090 messages
2020-02-10 14:32:09paul.moorecreate