]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-101135: Add backwards compatibility to Windows launcher for older 32-bit versions...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 24 Jan 2023 17:04:00 +0000 (09:04 -0800)
committerGitHub <noreply@github.com>
Tue, 24 Jan 2023 17:04:00 +0000 (09:04 -0800)
commit5a8ed019f9b826d2ba5766688d51005624cd0699
tree80b117bb7041c2debe43c60c38c8f5345f09795f
parentbab79942c46436e0034c8a033a3c22974ddf6645
gh-101135: Add backwards compatibility to Windows launcher for older 32-bit versions (GH-101138)

Python 2.x and up to 3.4 did not contain the "-32" in their registry name, so the 32 and 64-bit installs were treated equal. Since 3.5/PEP 514 this is no longer true, but we still want to detect the EOL versions correctly in case people are still using them.

Additionally, the code to replace a node with one with a lower sort key was buggy (wrong node chosen, replace never happened since parent was always NULL, replaced node never freed, etc)
(cherry picked from commit daec3a463c747c852d7ee91e82770fb1763d7d31)

Co-authored-by: Martin Boisvert <martin.boisvert@optelgroup.com>
Misc/NEWS.d/next/Windows/2023-01-18-18-25-18.gh-issue-101135.HF9VlG.rst [new file with mode: 0644]
PC/launcher2.c