-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Bug report
Bug description:
I'm trying to deploy the new python installer in the most backward compatible way. My experimentation is that calling py -3.11 does NOT trigger the automatic install as expected. However py exec -3.11 does work as intended.
C:\Users\me>py help
Python installation manager 25.0
[...]
C:\Users\me>py -3.11
[ERROR] No runtime installed that matches 3.11. Try running "py install 3.11".
C:\Users\me>py exec -3.11
********************************************************************************
Installing Python 3.11.9.
Extracting: ...................................................................✅
To see all available commands, run 'py help'
********************************************************************************
Python 3.11.9 (tags/v3.11.9:de54cf5, Apr 2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
Refering to the documentation, I was not expecting that difference:
https://docs.python.org/dev/using/windows.html#basic-use: "The only difference between the two commands is when running without any arguments: py will install and launch your default interpreter, while pymanager will display help (pymanager exec ... provides equivalent behaviour to py ...)."
https://docs.python.org/dev/using/windows.html#configuration
"True to allow automatic installs when specifying a particular runtime to launch. By default, true."
CPython versions tested on:
3.14
Operating systems tested on:
Windows