Skip to content

gh-95946: Note launcher's env ability to launch non-python interpreters - #95947

Closed
CAD97 wants to merge 2 commits into
python:mainfrom
CAD97:patch-1
Closed

CAD97 wants to merge 2 commits into
python:mainfrom
CAD97:patch-1

Conversation

@CAD97

@CAD97 CAD97 commented Aug 13, 2022 •

Copy link
Copy Markdown

I additionally provide a footnote calling out the most likely failure mode.

@bedevere-bot bedevere-bot added docs Documentation in the Doc dir skip news awaiting review labels Aug 13, 2022
@CAD97 CAD97 changed the title g-95946: Note launcher's env ability to launch non-python interpreters gh-95946: Note launcher's env ability to launch non-python interpreters Aug 13, 2022
@ghost

ghost commented Aug 13, 2022 •

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.
CLA signed

Comment thread Doc/using/windows.rst
Comment on lines +878 to +879
non-Python interpreters meant to trampoline into Python, as this could select
a WSL `bash`, causing the script to run under WSL instead of running natively.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I worry that this makes it sound like an appealing feature, not an unintentional side-effect.

Can we warn instead about the command line having to accept the same options as the Python command line? That's the more useful information for someone who's trying to do this on purpose.

(There are also non-WSL "bash.exe"s out there, so I really don't want to start people thinking they can make Windows users run on Linux by putting bash in the shebang...)

@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Apr 11, 2026
@zooba

zooba commented Apr 13, 2026

Copy link
Copy Markdown
Member

The launcher in question is deprecated, and the updated one has different behaviour, so this isn't necessary.

@zooba zooba closed this Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review docs Documentation in the Doc dir skip news stale Stale PR or inactive for long period of time.

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

3 participants