summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2022-03-26 19:52:24 (GMT)
committerGitHub <noreply@github.com>2022-03-26 19:52:24 (GMT)
commitb16b6bb8dacc41e9e569783890b0c88fcd3b24e8 (patch)
tree5e3c08a7bd917d3f45ddc4a8e195023e3d482731 /Doc
parentc23ddf5ec229b7302437a1cf32d366df5cc5b837 (diff)
downloadcpython-b16b6bb8dacc41e9e569783890b0c88fcd3b24e8.zip
cpython-b16b6bb8dacc41e9e569783890b0c88fcd3b24e8.tar.gz
cpython-b16b6bb8dacc41e9e569783890b0c88fcd3b24e8.tar.bz2
bpo-47095: Use libb2 to provide blake2 implementation (GH-32059)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.11.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst
index 2c09d35..9a137f3 100644
--- a/Doc/whatsnew/3.11.rst
+++ b/Doc/whatsnew/3.11.rst
@@ -245,6 +245,12 @@ fractions
that an ``isinstance(some_fraction, typing.SupportsInt)`` check passes.
(Contributed by Mark Dickinson in :issue:`44547`.)
+hashlib
+-------
+
+* :func:`hashlib.blake2b` and :func:`hashlib.blake2s` now prefer `libb2`_
+ over Python's vendored copy.
+ (Contributed by Christian Heimes in :issue:`47095`.)
IDLE and idlelib
----------------
@@ -1066,6 +1072,9 @@ Porting to Python 3.11
<https://github.com/python/pythoncapi_compat>`__ to get these functions
on old Python functions.
+* Distributors are encouraged to build Python with the optimized Blake2
+ library `libb2`_.
+
Deprecated
----------
@@ -1145,3 +1154,6 @@ Removed
* Remove the ``HAVE_PY_SET_53BIT_PRECISION`` macro (moved to the internal C
API).
(Contributed by Victor Stinner in :issue:`45412`.)
+
+
+.. _libb2: https://www.blake2.net/