bpo-10496: posixpath.expanduser() catchs pwd.getpwuid() error (GH-10919)
* 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.
V
Victor Stinner committed
f2f4555d8287ad217a1dba7bbd93103ad4daf3a8
Parent: 398bd27
Committed by GitHub <noreply@github.com>
on 12/5/2018, 3:49:35 PM