Skip to content

Conversation

@maurycy
Copy link
Contributor

@maurycy maurycy commented Oct 24, 2025

ref #422

@maurycy maurycy marked this pull request as draft October 24, 2025 22:31
"executable (sys;realpath)": os.path.realpath(sys.executable),
"base_executable": sys.executable,
"base_executable (sys)": getattr(sys, "_base_executable", None),
"base_executable": _BASE_EXECUTABLE or sys.executable,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

base_executable = getattr(sys, "_base_executable", None)
if is_venv:
# XXX There is probably a bug related to venv, since
# sys._base_executable should be different.
if base_executable == sys.executable:
# Indicate that we don't know.
base_executable = None
elif not base_executable:
base_executable = sys.executable

@maurycy maurycy marked this pull request as ready for review October 24, 2025 23:06
@maurycy maurycy changed the title macOS: Fix test_pythoninfo.GetInfoTests, stop marking Github Action as experimental macOS: Fix test_pythoninfo.GetInfoTests, stop marking as experimental Oct 26, 2025
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 this pull request may close these issues.

1 participant