Yu Liu <yuliu2016> 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 (i = 0; i < num_installed_pythons; i++, ip++) { n = wcslen(ip->version); - if (n > wlen) + if (n != wlen) n = wlen; if ((wcsncmp(ip->version, wanted_ver, n) == 0) && /* bits == 0 => don't care */ ---------- nosy: +yuliu2016 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45616> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com