-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Closed as not planned
Labels
OS-windowsinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancementA feature request or enhancement
Description
Feature or enhancement
Ability to return the version of Python Launcher for Windows running through the argument -V or --version
Pitch
Motivation
Starting with Python 3.11, Python Launcher for Windows has been included
One way to know the version of the py
launcher that is running is through the argument '--help' and read the first line of the help content
The following behavior is desired if the argument '--version' is added
➜ $env:PY_PYTHON='3.10'
➜ .\PCbuild\amd64\py_d.exe -V
Python Launcher for Windows Version 3.11.1+
Python 3.10.9
➜ .\PCbuild\amd64\py_d.exe --version
Python Launcher for Windows Version 3.11.1+
Python 3.10.9
➜ .\PCbuild\amd64\py_d.exe -V:3.10 -V
Python 3.10.9
➜ .\PCbuild\amd64\py_d.exe -V:3.10 --version
Python 3.10.9
Previous discussion
Linked PRs
Metadata
Metadata
Assignees
Labels
OS-windowsinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancementA feature request or enhancement