]> granicus.if.org Git - python/commit
bpo-34530: Fix distutils find_executable() (GH-9049)
authorVictor Stinner <vstinner@redhat.com>
Tue, 4 Sep 2018 09:01:09 +0000 (11:01 +0200)
committerGitHub <noreply@github.com>
Tue, 4 Sep 2018 09:01:09 +0000 (11:01 +0200)
commit39487196c87e28128ea907a0d9b8a88ba53f68d5
treebca89e0d6cc9afd2af485019feeff34c821d9caa
parentec74d187f50a8a48f94eb37023300583fbd644cc
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.
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]