Skip to content

[2.7] bpo-10496: distutils check_environ() handles getpwuid() error (GH-10931) #11213

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 18, 2018
Merged

[2.7] bpo-10496: distutils check_environ() handles getpwuid() error (GH-10931) #11213

merged 1 commit into from
Dec 18, 2018

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Dec 18, 2018

check_environ() of distutils.utils now catchs KeyError on calling
pwd.getpwuid(): don't create the HOME environment variable in this
case.

(cherry picked from commit 17d0c05)

https://bugs.python.org/issue10496

check_environ() of distutils.utils now catchs KeyError on calling
pwd.getpwuid(): don't create the HOME environment variable in this
case.

(cherry picked from commit 17d0c05)
@vstinner vstinner merged commit ea6b322 into python:2.7 Dec 18, 2018
@vstinner vstinner deleted the distutils_check_environ27 branch January 30, 2020 12:21
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