Author barneygale
Recipients barneygale
Date 2020-03-08.05:06:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1583643972.77.0.25342179601.issue39899@roundup.psfhosted.org>
In-reply-to
Content
`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.
History
Date User Action Args
2020-03-08 05:06:12barneygalesetrecipients: + barneygale
2020-03-08 05:06:12barneygalesetmessageid: <1583643972.77.0.25342179601.issue39899@roundup.psfhosted.org>
2020-03-08 05:06:12barneygalelinkissue39899 messages
2020-03-08 05:06:12barneygalecreate