]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-101135: Add backwards compatibility to Windows launcher for older 32-bit versions...
authorMartin Boisvert <martin.boisvert@optelgroup.com>
Tue, 24 Jan 2023 16:35:16 +0000 (11:35 -0500)
committerGitHub <noreply@github.com>
Tue, 24 Jan 2023 16:35:16 +0000 (16:35 +0000)
commitdaec3a463c747c852d7ee91e82770fb1763d7d31
tree273e21743fca845c8c25a608d42dde4739a1769c
parentfee7a995a18589001a432cea365fd04bf8efb7c1
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)
Misc/NEWS.d/next/Windows/2023-01-18-18-25-18.gh-issue-101135.HF9VlG.rst [new file with mode: 0644]
PC/launcher2.c