]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-132415: Use shutil.which() in missing_compiler_executable() (GH-132906...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 11 Jun 2025 15:00:01 +0000 (17:00 +0200)
committerGitHub <noreply@github.com>
Wed, 11 Jun 2025 15:00:01 +0000 (17:00 +0200)
commitd43cb4f31a95ee511d86e8adbfa1bea9747d75d3
treef012999ab48d457c03df1266fefcfc5bbb8e3afc
parentfd6c5fe7869fd0519f2a222e769553b91815ff1a
[3.12] gh-132415: Use shutil.which() in missing_compiler_executable() (GH-132906) (GH-135392)

Replace deprecated distutils.spawn.find_executable() with
shutil.which() in missing_compiler_executable() of test.support.
(cherry picked from commit de6482eda3a46cc9c9a03fb9ba57295ab99b4722)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/support/__init__.py