Visitar URL original
bpo-45409: Generalise venvlauncher to support any executable in the base environment by zooba · Pull Request #28817 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20260310193409/https://github.com/python/cpython/pull/28817
Skip to content
/ cpython Public

bpo-45409: Generalise venvlauncher to support any executable in the base environment#28817

Draft
zooba wants to merge 1 commit intopython:mainfrom
zooba:bpo-45409
Draft

bpo-45409: Generalise venvlauncher to support any executable in the base environment#28817
zooba wants to merge 1 commit intopython:mainfrom
zooba:bpo-45409

Conversation

@zooba
Copy link
Member

@zooba zooba commented Oct 8, 2021 •

@zooba
Copy link
Member Author

zooba commented Oct 8, 2021

Pushed the branch so the changes are out there, but I still need to check (and probably fix) some handling of the Store package layout. The changes now will probably create some executables that won't work (pip.exe and idle.exe), so we might have to go back to the fixed list of executables.

I think the change to launcher.c is worth keeping though.

cch += (DWORD)wcslen(PYTHON_EXECUTABLE) + 1 + 1; /* include sep and null */
python_exe = wcsrchr(argv0, L'\\');
if (python_exe) {
python_exe += 1;
Copy link
Member

Choose a reason for hiding this comment

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

Wouldn't ++ be more idiomatic for C?

@github-actions
Copy link

github-actions bot commented Nov 8, 2021

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 Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review OS-windows stale Stale PR or inactive for long period of time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants