This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author timhoffm
Recipients timhoffm
Date 2020-06-22.21:13:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1592860421.93.0.490449762565.issue41082@roundup.psfhosted.org>
In-reply-to
Content
Path.home() may fail un
(https://github.com/matplotlib/matplotlib/issues/17707#issuecomment-647180252).

1. I think the raised key error is too low-level, and it should be something else; what exactly t.b.d.
2. The documentation (https://docs.python.org/3/library/pathlib.html#pathlib.Path.home) should specify what happens in case of failure.
3. The documentation links to https://docs.python.org/3/library/os.path.html#os.path.expanduser, but that's not correct. _PosixFlavor.gethomedir() implements it's own user lookup, which is slightly different from os.path.expanduser()
History
Date User Action Args
2020-06-22 21:13:42timhoffmsetrecipients: + timhoffm
2020-06-22 21:13:41timhoffmsetmessageid: <1592860421.93.0.490449762565.issue41082@roundup.psfhosted.org>
2020-06-22 21:13:41timhoffmlinkissue41082 messages
2020-06-22 21:13:41timhoffmcreate