Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate and remove spawn.find_executable #249

Open
jaraco opened this issue Apr 21, 2024 · 0 comments · May be fixed by #250
Open

Deprecate and remove spawn.find_executable #249

jaraco opened this issue Apr 21, 2024 · 0 comments · May be fixed by #250

Comments

@jaraco
Copy link
Member

jaraco commented Apr 21, 2024

After doing some more refactoring, I've learned that find_executable is very similar to shutil.which (similar enough that shutil.which was probably copy-pasted from find_executable). shutil.which had evolved PATHEXT searching, so the change in #248 brings the distutils behavior more inline with what shutil.which is doing.

My instinct - distutils should deprecate find_executable and in spawn utilize shutil.which.

Originally posted by @jaraco in #248 (comment)

@jaraco jaraco linked a pull request Apr 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant