Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.2k
gh-135239: simpler use of mutex in hashlib & co#135267
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
45 commits Select commitHold shift + click to select a range
5d8c093
add common object head for hashlib/hmac objects
picnixz81e3046
simplify digest computation
picnixz7f9f7b7
refactor update logic
picnixz15a4f2f
refactor alloc() logic
picnixz5cd828a
finalizing touches
picnixz63db1de
correct mutex usage
picnixzea033a3
Revert 5cd828acdcfef753aee5eec7e13f07682af40f46
picnixz77baa67
revert some constructor changes
picnixz902759f
unconditionally lock when performing HASH updates
picnixzdde68c4
Merge remote-tracking branch 'upstream/main' into perf/hashlib/mutex-…
picnixz05c1e66
post-merge
picnixzdb57278
do not guard against empty buffers for now
picnixzead20a1
consistency fixes
picnixz68a6bbc
remove unused import
picnixz68f297e
correct naming for locked/unlocked versions
picnixz9817c3d
debug?
picnixz7c6842b
Merge remote-tracking branch 'upstream/main' into perf/hashlib/mutex-…
picnixzc14c87d
simplify HMAC
picnixzbfb5436
release the GIL for large buffers
picnixz923c05f
restore GIL_MINSIZE
picnixz55b2afa
correctly lock objects
picnixz5cd60d1
improve tests
picnixza2fcbd5
fixup HMAC
picnixz417cee1
fixup
picnixzf350501
GIL protection
picnixz5c4009d
show WASI errors
picnixz8aec797
fix WASI
picnixz6db58dc
fix compilation
picnixzb1f9463
fix compilation
picnixz491b922
fix warnings
picnixzc048975
sync
picnixzc9044d2
fixup format string
picnixz6c08f0d
address review
picnixz7fd1396
reudce diff
picnixzf400a11
Merge remote-tracking branch 'upstream/main' into perf/hashlib/mutex-…
picnixz5e2daa8
Merge remote-tracking branch 'upstream/main' into perf/hashlib/mutex-…
picnixz4f9729e
Merge remote-tracking branch 'upstream/main' into perf/hashlib/mutex-…
picnixz06aaee0
Merge branch 'main' into perf/hashlib/mutex-135239
picnixz977c807
fixup
picnixz6d66fef
fixup
picnixzc9db0b1
make the test suite less slow
picnixz6ffdd1c
fix test when GIL_MINSIZE is changed
picnixz98ec915
defer cosmetics
picnixz398ddb3
Update Lib/test/test_hashlib.py
picnixz0ae70e9
improve test
picnixzFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
PrevPrevious commit
improve test
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit0ae70e9c3f3cac460a414ea8f9e77bbdd4c80748
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.