perf: Python interpreter detection - #45
Merged
Merged
Conversation
Step 0 ran all three probes in parallel and waited for all of them before picking an interpreter. It now tries python3, py -3 and python in that order and stops at the first one that prints a current: line. In the common case that is one probe instead of three. The README now lists the same order. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
hisenb3rg
force-pushed
the
fix/python-interpreter
branch
from
September 16, 2026 14:10
dd9f8f4 to
7dd1414
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
python3,py -3,python) in parallel and had to wait for every one to finish before picking<python>.current:line, so the common case is a single probe.py -3first).check_version.pyand tests are unchanged.Test plan
/pyro:render-specon a spec on macOS/Linux: Step 0 issues only thepython3probe and reports it.python3on PATH: falls through topy -3/python.🤖 Generated with Claude Code