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

Color.closest() is unstable in versions of Python before 3.6 #6

Closed
rec opened this issue May 1, 2020 · 2 comments
Closed

Color.closest() is unstable in versions of Python before 3.6 #6

rec opened this issue May 1, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@rec
Copy link
Owner

rec commented May 1, 2020

No description provided.

@rec rec added the bug Something isn't working label May 1, 2020
@rec rec changed the title closer is unstable in versions of Python before 3.6 Color.closest() is unstable in versions of Python before 3.6 May 1, 2020
@rec
Copy link
Owner Author

rec commented May 1, 2020

Because dictionary order is unstable

@rec
Copy link
Owner Author

rec commented May 1, 2020

Nope, this isn't so. I sort everything by score and color and this is a stable sort.

@rec rec closed this as completed May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant