Skip to content

[3.12] gh-99108: Release the GIL around hashlib built-in computation (GH-104675) - #104776

Merged
gpshead merged 2 commits into
python:3.12from
miss-islington:backport-2e5d8a9-3.12
May 23, 2023
Merged

gpshead merged 2 commits into
python:3.12from
miss-islington:backport-2e5d8a9-3.12

Conversation

@miss-islington

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

Copy link
Copy Markdown
Contributor

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

4 participants