]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-10496: distutils check_environ() handles getpwuid() error (GH-10931)
authorVictor Stinner <vstinner@redhat.com>
Tue, 18 Dec 2018 15:17:56 +0000 (16:17 +0100)
committerGitHub <noreply@github.com>
Tue, 18 Dec 2018 15:17:56 +0000 (16:17 +0100)
commit17d0c0595e101c4ce76b58e55de37e6b5083e6cd
treee3e1374312f58fcd88dcd0c22df73f77cdf9d56c
parente6b247c8e524dbe5fc03b3492f628d0d5348bc49
bpo-10496: distutils check_environ() handles getpwuid() error (GH-10931)

check_environ() of distutils.utils now catchs KeyError on calling
pwd.getpwuid(): don't create the HOME environment variable in this
case.
Lib/distutils/tests/test_util.py
Lib/distutils/util.py
Misc/NEWS.d/next/Library/2018-12-05-17-42-49.bpo-10496.laV_IE.rst [new file with mode: 0644]