Repository navigation
Python -VV should display whether the build is default build or free-threading. #119132
Copy link
Copy link
Closed
Closed
Copy link
Description
Activity
- added a commit that references this issue
on May 18, 2024 If we cannot agree on changing
sys.version, at least,python -VVcan be modified inPython/initconfig.c:if (print_version) { printf("Python %s\n", (print_version >= 2) ? Py_GetVersion() : PY_VERSION); return _PyStatus_EXIT(0); }
The code can be modified to log if Python is built with free-threading or not.
Reacted by Nice Zombies, Hugo van Kemenade and Donghee NaIf we cannot agree on changing sys.version, at least, python -VV can be modified in Python/initconfig.c:
It's better!
- added a commit that references this issue
on May 18, 2024 1 remaining item
- added a commit that references this issue
on Jun 16, 2025
Metadata
Metadata
Assignees
Labels
No labels
Currently, there is no way to identify whether the build is free-threaded or not through
python -VVSee the pyperf and pyperformance case
The following display would be great.
Linked PRs