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.12] gh-99108: Release the GIL around hashlib built-in computation (GH-104675) #104776

Merged
merged 2 commits into from
May 23, 2023

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 23, 2023

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 greg@krypto.org

…ythonGH-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 <greg@krypto.org>
@gpshead gpshead enabled auto-merge (squash) May 23, 2023 00:14
@gpshead gpshead self-assigned this May 23, 2023
@gpshead gpshead merged commit 9aea1f2 into python:3.12 May 23, 2023
@miss-islington miss-islington deleted the backport-2e5d8a9-3.12 branch May 23, 2023 11:24
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.

4 participants