From ca6123fd842fc7f0975f4b1a3719f388115bff17 Mon Sep 17 00:00:00 2001 From: slateny <46876382+slateny@users.noreply.github.com> Date: Mon, 25 Apr 2022 19:55:13 -0700 Subject: [PATCH] Add hmac.new default parameter deprecation --- Doc/whatsnew/3.8.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst index 7c293a501895b3..4233fd9f7e19dc 100644 --- a/Doc/whatsnew/3.8.rst +++ b/Doc/whatsnew/3.8.rst @@ -2004,6 +2004,8 @@ Changes in the Python API ``replace()`` method of :class:`types.CodeType` can be used to make the code future-proof. +* The parameter ``digestmod`` for :func:`hmac.new` no longer uses the MD5 digest + by default. Changes in the C API --------------------