Author brett.cannon
Recipients brett.cannon, docs@python
Date 2019-12-18.18:20:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1576693250.66.0.453775762211.issue39090@roundup.psfhosted.org>
In-reply-to
Content
The question on how best to get an absolute path from a pathlib.Path object keeps coming up (see https://bugs.python.org/issue29688, https://discuss.python.org/t/add-absolute-name-to-pathlib-path/2882/, and https://discuss.python.org/t/pathlib-absolute-vs-resolve/2573 as examples).

As pointed out across those posts, getting the absolute path is surprisingly subtle and varied depending on your needs. As such we should probably add a section somewhere in the pathlib docs explaining the various ways and why you would choose one over the other.
History
Date User Action Args
2019-12-18 18:20:50brett.cannonsetrecipients: + brett.cannon, docs@python
2019-12-18 18:20:50brett.cannonsetmessageid: <1576693250.66.0.453775762211.issue39090@roundup.psfhosted.org>
2019-12-18 18:20:50brett.cannonlinkissue39090 messages
2019-12-18 18:20:50brett.cannoncreate