From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 6 Jun 2022 17:10:56 +0000 (-0700) Subject: gh-83728: Add hmac.new default parameter deprecation (GH-91939) (GH-93546) X-Git-Tag: v3.9.14~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8f2fe355b82a3eb3c64ee6e1c44f31c020cf97d;p=thirdparty%2FPython%2Fcpython.git gh-83728: Add hmac.new default parameter deprecation (GH-91939) (GH-93546) (cherry picked from commit 56b5daf15970be449d44e91f08db84c698ac5506) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> --- diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst index 92bdb4555537..58f44f75561a 100644 --- a/Doc/whatsnew/3.8.rst +++ b/Doc/whatsnew/3.8.rst @@ -2003,6 +2003,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 --------------------