summaryrefslogtreecommitdiff
path: root/plugins/code-modernization/scripts/baseline_diff.py
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-11-23 18:47:28 +0000
committerClaude <noreply@anthropic.com>2026-11-23 18:47:28 +0000
commitc4cdcf736553990e2029418f211179953637fb1b (patch)
tree530a1ec4915f2556f39c4b7e287ac154bc3c306a /plugins/code-modernization/scripts/baseline_diff.py
parent7c963e12ea37a494c138cdcb0231ffe1fa3f5b82 (diff)
security-guidance: say which Python failed when none works
When every interpreter the launcher tried failed, its message was the same as with no Python at all, so a version manager's shim with no version set read as Python not being installed. The first line now names python3, python and py -3 with what they did (an exit code, or no version in their answer), because Claude Code's terminal shows only the first line of a failed hook. A later line has all of them. The interpreters' own output is not repeated. Nothing changes in which interpreter is started, in the exit code or in the number of processes. See anthropics/claude-code#86709. Co-authored-by: mhegazy <mhegazy@anthropic.com>
Diffstat (limited to 'plugins/code-modernization/scripts/baseline_diff.py')
0 files changed, 0 insertions, 0 deletions