Message356589
When a directory doesn't exist, the resolve() method trims everything except the first component (a doesn't exist here):
import pathlib
p = pathlib.Path(".", "a", "b", "c")
p
WindowsPath('a/b/c')
p.resolve(strict=False)
WindowsPath('C:/Python36/Scripts/a')
I would expect C:/Python36/Scripts/a/b/c
Am I missing something? |
|
Date |
User |
Action |
Args |
2019-11-14 10:16:42 | lutecki | set | recipients:
+ lutecki, paul.moore, tim.golden, zach.ware, steve.dower |
2019-11-14 10:16:42 | lutecki | set | messageid: <1573726602.08.0.459408660928.issue38793@roundup.psfhosted.org> |
2019-11-14 10:16:41 | lutecki | link | issue38793 messages |
2019-11-14 10:16:41 | lutecki | create | |
|