]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34530: Fix distutils find_executable() (GH-9049) (GH-9057)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 5 Sep 2018 14:45:08 +0000 (07:45 -0700)
committerVictor Stinner <vstinner@redhat.com>
Wed, 5 Sep 2018 14:45:08 +0000 (16:45 +0200)
commite2c1657dff86decf1e232b66e766d2e51381109c
treef31698bca976da8e86be144d17dd9fa5c7b049f2
parent635461fca5e90c6e091f1e5b46adafc0d28bf0e2
bpo-34530: Fix distutils find_executable() (GH-9049) (GH-9057)

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]