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@python
components: Documentation
keywords: easy
messages: 198930
nosy: docs@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue19160>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to