diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-12-05 20:56:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-05 20:56:24 (GMT) |
commit | b50b33b4ac62c8798199682e511b2028f2d3ec42 (patch) | |
tree | da84dd6157dd685d381027c7311ebf731723cd87 /Python/pythonrun.c | |
parent | bacc272afc165df21c607aae4ff7bfa21ae1979d (diff) | |
download | cpython-b50b33b4ac62c8798199682e511b2028f2d3ec42.zip cpython-b50b33b4ac62c8798199682e511b2028f2d3ec42.tar.gz cpython-b50b33b4ac62c8798199682e511b2028f2d3ec42.tar.bz2 |
bpo-10496: posixpath.expanduser() catchs pwd.getpwuid() error (GH-10919) (GH-10930)
* posixpath.expanduser() now returns the input path unchanged if
the HOME environment variable is not set and pwd.getpwuid() raises
KeyError (the current user identifier doesn't exist in the password
database).
* Add test_no_home_directory() to test_site.
(cherry picked from commit f2f4555d8287ad217a1dba7bbd93103ad4daf3a8)
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions