[Python-checkins] gh-83728: Add hmac.new default parameter deprecation (GH-91939) (GH-93545)
ambv
webhook-mailer at python.org
Mon Jun 6 13:10:19 EDT 2022
https://github.com/python/cpython/commit/8dc8b27eb0a7aa958620687552cfc662594ec196
commit: 8dc8b27eb0a7aa958620687552cfc662594ec196
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2022-06-06T19:10:15+02:00
summary:
gh-83728: Add hmac.new default parameter deprecation (GH-91939) (GH-93545)
(cherry picked from commit 56b5daf15970be449d44e91f08db84c698ac5506)
Co-authored-by: Stanley <46876382+slateny at users.noreply.github.com>
files:
M Doc/whatsnew/3.8.rst
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index 163332401deeb..51e1f9ab4aa9d 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
--------------------
More information about the Python-checkins
mailing list