summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-06-06 10:10:34 -0700
committerGitHub <noreply@github.com>2022-06-06 19:10:34 +0200
commit5776f724c1957d75bd4ba0c26eab2caee9484089 (patch)
treeae4a68a7dd722dbc5178d59992bb1a300462e73c
parent067c37207449a5315abd6c3b8c0527145b6729b9 (diff)
downloadcpython-git-5776f724c1957d75bd4ba0c26eab2caee9484089.tar.gz
gh-83728: Add hmac.new default parameter deprecation (GH-91939) (GH-93547)
(cherry picked from commit 56b5daf15970be449d44e91f08db84c698ac5506) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
-rw-r--r--Doc/whatsnew/3.8.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index c27c968aa1..0c1a669bc0 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
--------------------