Message363635
`pathlib.Path.expanduser()` does not call `os.path.expanduser()`, but instead re-implements it. The implementations look pretty similar and I can't see a good reason for the duplication. The only difference is that `pathlib.Path.expanduser()` raises `RuntimeError` when a home directory cannot be resolved, whereas `os.path.expanduser()` returns the path unchanged. |
|
Date |
User |
Action |
Args |
2020-03-08 05:06:12 | barneygale | set | recipients:
+ barneygale |
2020-03-08 05:06:12 | barneygale | set | messageid: <1583643972.77.0.25342179601.issue39899@roundup.psfhosted.org> |
2020-03-08 05:06:12 | barneygale | link | issue39899 messages |
2020-03-08 05:06:12 | barneygale | create | |
|