Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-38506: Fix the Windows launcher's mishandling of 3.10 #18307

Draft
wants to merge 1 commit into
base: master
from

Conversation

@ZackerySpytz
Copy link
Contributor

ZackerySpytz commented Feb 2, 2020

@ZackerySpytz

This comment has been minimized.

Copy link
Contributor Author

ZackerySpytz commented Feb 2, 2020

This may not be the proper fix.

If this approach is accepted, this PR would still need a news entry.

@zooba

This comment has been minimized.

Copy link
Member

zooba commented Feb 2, 2020

@ZackerySpytz Using the API is the best choice, IMHO, but rather than using the "clever" subtraction approach, let's just use direct comparisons and return -1, 0 or 1. This isn't a tight loop, so readability wins over number of steps.

@zooba

This comment has been minimized.

Copy link
Member

zooba commented Feb 2, 2020

Oh, we probably also want an invariant or neutral locale rather than the current user locale, as we're sorting our own values rather than user-specified values. I don't remember which constant that would be though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.