Skip to content

Commit d4e60ec

Browse files
miss-islingtongpshead
authored andcommitted
bpo-44145: Release the GIL around HMAC_Update. (pythonGH-26157)
It was always meant to be released for parallelization. This now matches the other similar code in the module. Thanks michaelforney for noticing! (cherry picked from commit c10392e) Co-authored-by: Gregory P. Smith <[email protected]>
1 parent 6469768 commit d4e60ec

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
:mod:`hmac` computations were not releasing the GIL while calling the
2+
OpenSSL ``HMAC_Update`` C API (a new feature in 3.9). This unintentionally
3+
prevented parallel computation as other :mod:`hashlib` algorithms support.

0 commit comments

Comments
 (0)