[issue38506] Launcher for Windows (py.exe) may rank Python 3.xx (in the future) after 3.x

Steve Dower report at bugs.python.org
Thu Oct 17 11:15:58 EDT 2019


Steve Dower <steve.dower at python.org> added the comment:

You're right that this will need fixing. But we don't really have to fix it any earlier than 3.10 - the launcher is backwards-compatible but not necessarily forwards-compatible. Still, we can take a fix whenever.

Probably it should just change to using CompareStringEx with (at least) the SORT_DIGITSASNUMBERS flag.

https://docs.microsoft.com/windows/win32/api/stringapiset/nf-stringapiset-comparestringex

----------
stage:  -> test needed
versions:  -Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38506>
_______________________________________


More information about the Python-bugs-list mailing list