diff options
author | Jesus Cea <jcea@jcea.es> | 2013-10-04 02:20:37 (GMT) |
---|---|---|
committer | Jesus Cea <jcea@jcea.es> | 2013-10-04 02:20:37 (GMT) |
commit | 5b22dd87aa39087f07987f788a0bbd2464e2a8b5 (patch) | |
tree | 94ad3d19767bca09e0426240cde026636dc5e839 | |
parent | f5c499e16c7c1835b978544ad2d3acd8f04dba4d (diff) | |
download | cpython-5b22dd87aa39087f07987f788a0bbd2464e2a8b5.zip cpython-5b22dd87aa39087f07987f788a0bbd2464e2a8b5.tar.gz cpython-5b22dd87aa39087f07987f788a0bbd2464e2a8b5.tar.bz2 |
Close #19160: Inconsistent size for GIL release in hashlib
-rw-r--r-- | Doc/library/hashlib.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/hashlib.rst b/Doc/library/hashlib.rst index 1fc5044..edc7d54 100644 --- a/Doc/library/hashlib.rst +++ b/Doc/library/hashlib.rst @@ -41,7 +41,7 @@ concatenation of the data fed to it so far using the :meth:`digest` or .. note:: 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:: @@ -132,7 +132,7 @@ A hash object has the following methods: .. versionchanged:: 3.1 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. |