]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-83728: Add hmac.new default parameter deprecation (GH-91939)
authorStanley <46876382+slateny@users.noreply.github.com>
Mon, 6 Jun 2022 16:47:40 +0000 (09:47 -0700)
committerGitHub <noreply@github.com>
Mon, 6 Jun 2022 16:47:40 +0000 (18:47 +0200)
Doc/whatsnew/3.8.rst

index 9e8d6fe8e20f53f53d67e65b3a4fb9a4aa2f871b..077de05f34c93e288f6a980baa5b5a8292d0133b 100644 (file)
@@ -2008,6 +2008,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
 --------------------