-
- Downloads
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.
Showing
- Lib/posixpath.py 8 additions, 1 deletionLib/posixpath.py
- Lib/test/test_posixpath.py 49 additions, 29 deletionsLib/test/test_posixpath.py
- Lib/test/test_site.py 37 additions, 0 deletionsLib/test/test_site.py
- Misc/NEWS.d/next/Library/2018-12-05-13-37-39.bpo-10496.VH-1Lp.rst 5 additions, 0 deletions...S.d/next/Library/2018-12-05-13-37-39.bpo-10496.VH-1Lp.rst
Loading
Please register or sign in to comment