]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34530: Fix distutils find_executable() (GH-9049) (GH-9058)
authorVictor Stinner <vstinner@redhat.com>
Tue, 4 Sep 2018 09:40:29 +0000 (11:40 +0200)
committerGitHub <noreply@github.com>
Tue, 4 Sep 2018 09:40:29 +0000 (11:40 +0200)
commit7056ca880bf4ff428dfb2c4eee67919dc43ecd34
treed218900ff2a0d150dbbd3dadf6da15f6ed371fcf
parent30af2e737aad427d4da97f8dadeeecff6c2b28f5
bpo-34530: Fix distutils find_executable() (GH-9049) (GH-9058)

distutils.spawn.find_executable() now falls back on os.defpath if the
PATH environment variable is not set.

(cherry picked from commit 39487196c87e28128ea907a0d9b8a88ba53f68d5)
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]