[issue33922] Enforce 64bit Python by Launcher
Eryk Sun
report at bugs.python.org
Wed Jun 20 21:45:24 EDT 2018
Eryk Sun <eryksun at gmail.com> added the comment:
Limiting to 64-bit is already implemented in the latest version of the launcher. For example, below I've renamed the registry key for 64-bit Python 3.5 to "xxx3.5" to prevent the launcher from finding it:
C:\>py -3.5-64
Python 3.5-64 not found!
Installed Pythons found by py Launcher for Windows
-xxx-64
-3.7-64 *
-3.7-32
-3.6-64
-3.6-32
-3.5-32
-2.7-64
-2.7-32
Requested Python version (3.5-64) not installed, use -0 for available pythons
-0p also lists the path for each executable. It's a bit rough around the edges that it lists the available versions and then tells the user to list them via -0 instead of the more general advice to use -h or --help for available options.
The long names for -0 and -0p are --list and --list-paths, but currently these do not work. That should be easy to fix in the launcher's process() function if you want to contribute a patch.
----------
nosy: +eryksun
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> Allow windows launcher to specify bit lengths with & without minor version
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33922>
_______________________________________
More information about the Python-bugs-list
mailing list