Hugo van Kemenade
3b3ec0d77f
gh-111863: Rename `Py_NOGIL` to `Py_GIL_DISABLED` ( #111864 )
...
Rename Py_NOGIL to Py_GIL_DISABLED
2023-11-20 15:52:00 +02:00
Tomas R
a6465605c1
gh-111916: Make hashlib related modules thread-safe without the GIL ( #111981 )
...
Always use an individual lock on hash objects when in free-threaded builds.
Fixes #111916
2023-11-15 23:53:38 +00:00
Gregory P. Smith
2e5d8a90aa
gh-99108: Release the GIL around hashlib built-in computation ( #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.
2023-05-23 00:06:41 +00:00
Julien Palard
9ce0f48e91
hashlib: Fix old message about unicode objects. (GH-28653)
2021-10-01 14:38:49 +02:00
Antoine Pitrou
a6a4dc816d
bpo-31370: Remove support for threads-less builds ( #3385 )
...
* Remove Setup.config
* Always define WITH_THREAD for compatibility.
2017-09-07 18:56:24 +02:00
Christian Heimes
121b9487d1
Issue #26798 : Add BLAKE2 (blake2b and blake2s) to hashlib.
2016-09-06 22:03:25 +02:00
Martin Panter
7462b64911
Issue #25523 : Correct "a" article to "an" article
...
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
or edited some other way to fix the grammar.
2015-11-02 03:37:02 +00:00
Ned Deily
970a87fc07
Closes #18627 : merge from 3.3
2013-08-01 22:13:30 -07:00
Ned Deily
bd143c3760
Issue #18627 : Fix typo noticed by Vajrasky Kok.
2013-08-01 22:12:29 -07:00
Christian Heimes
4a0270d82b
Issue #16113 : integrade SHA-3 (Keccak) patch from http://hg.python.org/sandbox/cheimes
2012-10-06 02:23:36 +02:00
Gregory P. Smith
365a1864fd
Fixes Issue #3745 : Fix hashlib to always reject unicode and non
...
buffer-api supporting objects as input no matter how it was compiled
(built in implementations or external openssl library).
2009-02-12 07:35:29 +00:00