[issue44145] hmac.update is not releasing the GIL when openssl's hmac is used

Gregory P. Smith report at bugs.python.org
Sun May 16 02:54:04 EDT 2021


New submission from Gregory P. Smith <greg at krypto.org>:

This prevents parallel hmac computations.

see michaelforney's comment left on https://github.com/python/cpython/pull/20129
where the problem was introduced when adding support for using OpenSSL's HMAC implementations.

easy fix.  PR coming.

We don't really have a way to unittest for regressions on things like this.

----------
assignee: gregory.p.smith
components: Extension Modules
keywords: 3.9regression
messages: 393733
nosy: christian.heimes, gregory.p.smith
priority: normal
severity: normal
stage: needs patch
status: open
title: hmac.update is not releasing the GIL when openssl's hmac is used
type: performance
versions: Python 3.10, Python 3.11, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44145>
_______________________________________


More information about the Python-bugs-list mailing list