-
-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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
fix hashing #32427
Comments
No description provided. |
This patch addresses two main issues: (2) The hash algorithms that use pointers (e.g. func_hash, code_hash) are As well, this patch significantly cleans up the hash code. It adds the two These help maintain the hash function invariant: |
I confirm that, to the best of my knowledge and belief, this I acknowledge that CNRI may, at its sole discretion, decide |
just testing the SF patch manager |
Tim, please review! Then assign to Trent if it's OK to commit. |
Changed to Accepted, assigned back to Trent for commit. Looks good, Trent! My only gripe is about the hash function for complex numbers (because it's symmetric), but that problem existed before and you haven't made it any worse. Ship it (I'll improve the complex hash later). |
1 similar comment
Changed to Accepted, assigned back to Trent for commit. Looks good, Trent! My only gripe is about the hash function for complex numbers (because it's symmetric), but that problem existed before and you haven't made it any worse. Ship it (I'll improve the complex hash later). |
Applied verbatim; patch to PC/winreg.c applied to PC/_winreg.c due to name change. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: