]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-83728: Add hmac.new default parameter deprecation (GH-91939) (GH-93546)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 6 Jun 2022 17:10:56 +0000 (10:10 -0700)
committerGitHub <noreply@github.com>
Mon, 6 Jun 2022 17:10:56 +0000 (19:10 +0200)
(cherry picked from commit 56b5daf15970be449d44e91f08db84c698ac5506)

Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
Doc/whatsnew/3.8.rst

index 92bdb4555537e411b39905e596833cb51ca7c3b6..58f44f75561ab70458e3657d0951e7e2f56433de 100644 (file)
@@ -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
 --------------------