We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sys.winver
3.1
3.11
I downloaded and extracted https://github.com/indygreg/python-build-standalone/releases/download/20231002/cpython-3.11.6+20231002-i686-pc-windows-msvc-static-install_only.tar.gz, then ran python.exe -c "import sys; print(sys.winver)" and it printed 3.1, instead of the expected 3.11. This is because on https://github.com/indygreg/python-build-standalone/blob/main/cpython-windows/build.py#L1525, the Python version gets truncated to 3 characters.
python.exe -c "import sys; print(sys.winver)"
The text was updated successfully, but these errors were encountered:
Thanks for the report!
Sorry, something went wrong.
windows: split Python version properly
835b677
Closes #199.
090b15a
Thanks for fixing!
No branches or pull requests
I downloaded and extracted https://github.com/indygreg/python-build-standalone/releases/download/20231002/cpython-3.11.6+20231002-i686-pc-windows-msvc-static-install_only.tar.gz, then ran
python.exe -c "import sys; print(sys.winver)"
and it printed3.1
, instead of the expected3.11
.This is because on https://github.com/indygreg/python-build-standalone/blob/main/cpython-windows/build.py#L1525, the Python version gets truncated to 3 characters.
The text was updated successfully, but these errors were encountered: