conio <conio.h+bugs.python....@gmail.com> added the comment:

I understand.

Though I think the naming scheme that includes platform identification is 
better, if *all* installers include the platform name unconditionally, 
including both amd64 and arm64, that's also an improvement. (So the names will 
be `Python311-32`, `Python311-amd64` and `Python311-arm64` - each in the 
appropriate Program Files folder.)

The convention would be uniform, there won't be a collision between arm64 and 
amd64 on the same system, and amd64 won't get preferential treatment even on 
non-amd64 systems.

Assuming `py.exe` will be fixed to recognize the arm64 versions in the 
Registry, I would be able to change the folder from `Python311-arm64` to 
`Python311` myself in the installer if it's so important to me and everything 
will work just the same.

I do wonder though - is there no platform detection code today in the 
installer? Would the x86 versions install into "PythonXY-32" even on 32-bit 
Windows? If there already is, then adding a call to `IsWow64Process2` doesn't 
sound that difficult. Especially since that's almost the same couple of lines 
that will have to added to the PyLauncher anyway. Could you please point me to 
where the code for the Windows Python installer is so I could also take a look?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46744>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to