mirror of
https://github.com/python/cpython.git
synced 2025-11-03 19:34:08 +00:00
MERGE: Close #19160: Inconsistent size for GIL release in hashlib
This commit is contained in:
commit
cc5d49e3da
1 changed files with 2 additions and 2 deletions
|
|
@ -41,7 +41,7 @@ concatenation of the data fed to it so far using the :meth:`digest` or
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
For better multithreading performance, the Python :term:`GIL` is released for
|
For better multithreading performance, the Python :term:`GIL` is released for
|
||||||
data larger than 2048 bytes at object creation or on update.
|
data larger than 2047 bytes at object creation or on update.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
|
|
@ -148,7 +148,7 @@ A hash object has the following methods:
|
||||||
|
|
||||||
.. versionchanged:: 3.1
|
.. versionchanged:: 3.1
|
||||||
The Python GIL is released to allow other threads to run while hash
|
The Python GIL is released to allow other threads to run while hash
|
||||||
updates on data larger than 2048 bytes is taking place when using hash
|
updates on data larger than 2047 bytes is taking place when using hash
|
||||||
algorithms supplied by OpenSSL.
|
algorithms supplied by OpenSSL.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue