Author serhiy.storchaka
Recipients barneygale, serhiy.storchaka
Date 2020-03-08.05:37:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
There are two reasons:

1. os.path.expanduser() returns the path unchanged when a home directory cannot be resolved, pathlib.Path.expanduser() raises an error. The latter behavior looks more robust, but we can't change os.path.expanduser().

2. os.path.expanduser() needs to split the path on components while pathlib.Path.expanduser() already has ready components. In some cases it may be more efficient.
Date User Action Args
2020-03-08 05:37:54serhiy.storchakasetrecipients: + serhiy.storchaka, barneygale
2020-03-08 05:37:54serhiy.storchakasetmessageid: <>
2020-03-08 05:37:54serhiy.storchakalinkissue39899 messages
2020-03-08 05:37:54serhiy.storchakacreate