-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
…H-104675) (#104776) gh-99108: Release the GIL around hashlib built-in computation (GH-104675) This matches the GIL releasing behavior of our existing `_hashopenssl` module, extending it to the HACL* built-ins. Includes adding comments to better describe the ENTER/LEAVE macros purpose and explain the lock strategy in both existing and new code. (cherry picked from commit 2e5d8a9) Co-authored-by: Gregory P. Smith [Google] <greg@krypto.org>
- Loading branch information
commit 9aea1f28e2d22dd8650f6153eb5630ffd250d3c8
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
Misc/NEWS.d/next/Library/2023-05-19-19-46-22.gh-issue-99108.wqCg0t.rst
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
We now release the GIL around built-in :mod:`hashlib` computations of | ||
reasonable size for the SHA families and MD5 hash functions, matching | ||
what our OpenSSL backed hash computations already does. |
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
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
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
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.
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.
3.12 backport gh 105236 #105358
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
Uh oh!
There was an error while loading. Please reload this page.
3.12 backport gh 105236 #105358
Changes from 1 commit
c2b127e
97f8547
< 8000 div class="text-emphasized css-truncate css-truncate-target"> [3.12] Add the 3.12 branch to the github workflows. (GH-104768) (#104…b44beac
25b5ce7
905d419
e43fbbd
9aea1f2
f4e2049
5c8418c
22c45c4
b719dd8
d10d1e3
a5c0ef8
2d685ec
3d2ed89
b151660
5e1799e
25890eb
2b54ea5
45b88e0
ddc29c8
3d91d03
b670214
c4bc97a
a064233
51eb009
4833f62
1a47d11
b328ba1
d176f78
930efde
5c2971b
8010cef
bd2cc41
6324458
b31cfd2
83bdfa4
3158b4d
01af2b0
8ca2957
97509ca
bb1e57e
dcee0aa
eca102d
305d78b
05189f3
2c02c68
f625ec3
368d177
edd0cb8
2b176bc
5426ff1
36a4227
41b622b
3f8d5d9
74bbc60
5dc6b18
635ce29
68bf3fe
56722ef
6794526
7f04a15
fd6b913
7899fac
b45df73
4e7d41f
9fb7abb
aeee5a5
9ae49e3
5fff491
af7b55d
e3fcd9e
4729100
2f8c22f
c687946
01b42f9
d3c21a9
4f477c7
076f3cd
e7cb216
f87c6d1
8b51666
dbd7d7c
6375287
25543ae
83c7386
c38ceb0
d2be5c7
d57ee81
e6d5e63
46cc4f0
103ae4e
00fe618
72d5dfa
d3922c4
f629d5f
c7a9d96
6b61fe9
9ce3312
3e7ddc2
6d03541
5175026
2031238
83fc562
dbc179e
0c51318
05b6153
ab660e9
3aa3be4
bdd2b89
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.