[issue45616] Python Launcher Matches 3.10 instead of 3.1

2021-11-24 Thread Zachary Ware
Zachary Ware added the comment: Thanks for the report, Gabe! We actually ran into this in the opposite direction as well; a system with 3.1 but not 3.10 started up 3.1 for `py -3.10` causing unexpected syntax errors. The fix is now merged and will be available with the release of v3.10.1

[issue45616] Python Launcher Matches 3.10 instead of 3.1

2021-11-23 Thread miss-islington
miss-islington added the comment: New changeset ae065f83625f3abcf75d928f405e05582fc035b4 by Miss Islington (bot) in branch '3.10': bpo-45616: Let py.exe distinguish between v3.1 and v3.10 (GH-29731) https://github.com/python/cpython/commit/ae065f83625f3abcf75d928f405e05582fc035b4

[issue45616] Python Launcher Matches 3.10 instead of 3.1

2021-11-23 Thread Zachary Ware
Zachary Ware added the comment: New changeset f9de97aae5fe9dafb58a8099171f4a09c449f4e8 by Zachary Ware in branch 'main': bpo-45616: Let py.exe distinguish between v3.1 and v3.10 (GH-29731) https://github.com/python/cpython/commit/f9de97aae5fe9dafb58a8099171f4a09c449f4e8 --

[issue45616] Python Launcher Matches 3.10 instead of 3.1

2021-11-23 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +27978 pull_request: https://github.com/python/cpython/pull/29740 ___ Python tracker

[issue45616] Python Launcher Matches 3.10 instead of 3.1

2021-11-23 Thread Zachary Ware
Change by Zachary Ware : -- keywords: +patch pull_requests: +27968 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29731 ___ Python tracker ___

[issue45616] Python Launcher Matches 3.10 instead of 3.1

2021-10-26 Thread Yu Liu
Yu Liu added the comment: Had a quick look at the launcher file. Maybe something like this? diff --git a/PC/launcher.c b/PC/launcher.c index fbfb49a..a965a9d 100644 --- a/PC/launcher.c +++ b/PC/launcher.c @@ -542,7 +542,7 @@ find_python_by_version(wchar_t const * wanted_ver) } for

[issue45616] Python Launcher Matches 3.10 instead of 3.1

2021-10-26 Thread Yu Liu
Yu Liu added the comment: Had a quick look in the launcher file. Maybe something like this? diff --git a/PC/launcher.c b/PC/launcher.c index fbfb49a..a965a9d 100644 --- a/PC/launcher.c +++ b/PC/launcher.c @@ -542,7 +542,7 @@ find_python_by_version(wchar_t const * wanted_ver) } for

[issue45616] Python Launcher Matches 3.10 instead of 3.1

2021-10-26 Thread Gabe R.
New submission from Gabe R. : I have both Python 3.1-64 and 3.10-64 installed on the same Windows machine. If I attempt to launch Python 3.1 using the command `py -3.1-64`, the launcher incorrectly starts Python 3.10. -- components: Windows messages: 405054 nosy: Marsfan,