]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-134531: prefer using `_hashlib` module state instead of module object (#136865)
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Sun, 20 Jul 2025 13:10:36 +0000 (15:10 +0200)
committerGitHub <noreply@github.com>
Sun, 20 Jul 2025 13:10:36 +0000 (13:10 +0000)
commit4a151cae3317ce133bdf0792fb1064c5030e588c
tree8a77c8f4f5f505af63125d495c6e545bd0813d0c
parentc504f62fe2ebd86c93fb001b62478e0e3249fb6c
gh-134531: prefer using `_hashlib` module state instead of module object (#136865)

Some internal helper functions taking the module object to retrieve its state
under some conditions now directly take the module's state instead as those
conditions hold most of the time.
Modules/_hashopenssl.c