From 7561adb0c037b1af4cdcbf77bf1ec45b857812f8 Mon Sep 17 00:00:00 2001 From: Stanley <46876382+slateny@users.noreply.github.com> Date: Mon, 6 Jun 2022 09:47:40 -0700 Subject: [PATCH] gh-83728: Add hmac.new default parameter deprecation (GH-91939) (cherry picked from commit 56b5daf15970be449d44e91f08db84c698ac5506) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> --- 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 c27c968aa16302..0c1a669bc0e83c 100644 --- a/Doc/whatsnew/3.8.rst +++ b/Doc/whatsnew/3.8.rst @@ -2005,6 +2005,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 --------------------