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

[3.10] bpo-44646: Fix the hash of the union type. (GH-27179) #27180

Merged
merged 1 commit into from
Jul 16, 2021

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jul 16, 2021

It no longer depends on the order of arguments.
hash(int | str) == hash(str | int)

Co-authored-by: Jack DeVries 58614260+jdevries3133@users.noreply.github.com
(cherry picked from commit aeaa553)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

https://bugs.python.org/issue44646

It no longer depends on the order of arguments.
hash(int | str) == hash(str | int)

Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
(cherry picked from commit aeaa553)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@miss-islington
Copy link
Contributor Author

@serhiy-storchaka and @ambv: Status check is done, and it's a success ✅ .

2 similar comments
@miss-islington
Copy link
Contributor Author

@serhiy-storchaka and @ambv: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor Author

@serhiy-storchaka and @ambv: Status check is done, and it's a success ✅ .

@ambv ambv merged commit 7059880 into python:3.10 Jul 16, 2021
@bedevere-bot
Copy link

@ambv: Please replace # with GH- in the commit message next time. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants