summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-06-06 17:10:56 (GMT)
committerGitHub <noreply@github.com>2022-06-06 17:10:56 (GMT)
commite8f2fe355b82a3eb3c64ee6e1c44f31c020cf97d (patch)
treec41e97dcbb6115f99d7ac4b8dc96b1a568bc6651
parent95c9c2b9cb2d3c1d29c8ce77f154de8bd5313dae (diff)
downloadcpython-e8f2fe355b82a3eb3c64ee6e1c44f31c020cf97d.zip
cpython-e8f2fe355b82a3eb3c64ee6e1c44f31c020cf97d.tar.gz
cpython-e8f2fe355b82a3eb3c64ee6e1c44f31c020cf97d.tar.bz2
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>
-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 92bdb45..58f44f7 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
--------------------