[New-bugs-announce] [issue19160] Inconsistent size for GIL release in hashlib

Jesús Cea Avión report at bugs.python.org
Fri Oct 4 03:36:13 CEST 2013


New submission from Jesús Cea Avión:

In http://docs.python.org/3.3/library/hashlib.html there is a contradiction:

"""
For better multithreading performance, the Python GIL is released for strings of more than 2047 bytes at object creation or on update.

[...]

Changed in version 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 algorithms supplied by OpenSSL.
"""

So is it 2047 or 2048? :)

----------
assignee: docs at python
components: Documentation
keywords: easy
messages: 198930
nosy: docs at python, jcea
priority: normal
severity: normal
status: open
title: Inconsistent size for GIL release in hashlib
versions: Python 3.3, Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19160>
_______________________________________


More information about the New-bugs-announce mailing list