Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Dec 5, 2018

  • 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 f2f4555)

https://bugs.python.org/issue10496

* 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 f2f4555)
@vstinner vstinner merged commit b50b33b into python:2.7 Dec 5, 2018
@vstinner vstinner deleted the expanduser27 branch December 5, 2018 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants