◐ Shell
clean mode source ↗

[3.12] gh-99108: Release the GIL around hashlib built-in computation (GH-104675) by miss-islington · Pull Request #104776 · python/cpython

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