-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
bpo-40637: Do not emit warnings for disabled builtin hashes #20937
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-40637: Do not emit warnings for disabled builtin hashes #20937
Conversation
That is a test fix, thus I don't think a news entry is required here. |
test_hashlib emits some warnings when it cannot find some hashes as it assumes they failed to compile. Since we can disable hashes through configure, we emit the warnings only in the case that we did not intentionaly disable them.
58418b9
to
55aec53
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
@stratakis: Status check is done, and it's a success ✅ . |
Thanks @stratakis for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9. |
Sorry @stratakis, I had trouble checking out the |
…thonGH-20937) test_hashlib emits some warnings when it cannot find some hashes as it assumes they failed to compile. Since we can disable hashes through configure, we emit the warnings only in the case that we did not intentionaly disable them. Automerge-Triggered-By: @tiran (cherry picked from commit 236a0f5) Co-authored-by: stratakis <[email protected]>
GH-20951 is a backport of this pull request to the 3.9 branch. |
test_hashlib emits some warnings when it cannot find some hashes
as it assumes they failed to compile. Since we can disable hashes
through configure, we emit the warnings only in the case that we
did not intentionaly disable them.
https://bugs.python.org/issue40637
Automerge-Triggered-By: @tiran