]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34530: Fix distutils find_executable() (GH-9049)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 4 Sep 2018 09:19:13 +0000 (05:19 -0400)
committerGitHub <noreply@github.com>
Tue, 4 Sep 2018 09:19:13 +0000 (05:19 -0400)
commit7aa3eadca2a50ce651ce603d6100b05bb7106f1c
treef519bb1e457ccac4763a7ec341994d40e4f6db2c
parent1e921236d7ecc77299d34380d6a2159e9db05a1a
bpo-34530: Fix distutils find_executable() (GH-9049)

distutils.spawn.find_executable() now falls back on os.defpath if the
PATH environment variable is not set.
(cherry picked from commit 39487196c87e28128ea907a0d9b8a88ba53f68d5)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Lib/distutils/spawn.py
Lib/distutils/tests/test_spawn.py
Misc/NEWS.d/next/Library/2018-09-03-23-23-32.bpo-34530.h_Xsu7.rst [new file with mode: 0644]