Message361698
> 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). |
|
Date |
User |
Action |
Args |
2020-02-10 14:32:10 | paul.moore | set | recipients:
+ paul.moore, brett.cannon, docs@python, ChrisBarker, 45757 |
2020-02-10 14:32:10 | paul.moore | set | messageid: <1581345130.04.0.0711075703321.issue39090@roundup.psfhosted.org> |
2020-02-10 14:32:10 | paul.moore | link | issue39090 messages |
2020-02-10 14:32:09 | paul.moore | create | |
|