]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-132415: Use shutil.which() in missing_compiler_executable() (GH-132906...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 25 Apr 2025 10:41:40 +0000 (12:41 +0200)
committerGitHub <noreply@github.com>
Fri, 25 Apr 2025 10:41:40 +0000 (10:41 +0000)
commitb4a160ac594f4176456df2d929c41ef97aaf1930
tree7b0c218481da3a464b83ff48aff12701194d5dab
parent8a759c235c70a9c9408cae412cd5ef87126de384
[3.13] gh-132415: Use shutil.which() in missing_compiler_executable() (GH-132906) (#132916)

gh-132415: Use shutil.which() in missing_compiler_executable() (GH-132906)

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