[Python-checkins] cpython (3.3): Close #19160: Inconsistent size for GIL release in hashlib

jesus.cea python-checkins at python.org
Fri Oct 4 04:21:23 CEST 2013


http://hg.python.org/cpython/rev/bfebfadfc4aa
changeset:   85955:bfebfadfc4aa
branch:      3.3
parent:      85953:310c26df3234
user:        Jesus Cea <jcea at jcea.es>
date:        Fri Oct 04 04:20:37 2013 +0200
summary:
  Close #19160: Inconsistent size for GIL release in hashlib

files:
  Doc/library/hashlib.rst |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Doc/library/hashlib.rst b/Doc/library/hashlib.rst
--- a/Doc/library/hashlib.rst
+++ b/Doc/library/hashlib.rst
@@ -41,7 +41,7 @@
 .. 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 @@
 
    .. 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.
 
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list