You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
hmac.new() default parameter change not mentioned in changelog #83728
When running code on Python 3.8 that previous was running 3.3, I ran into the issue that the default value for the digestmod parameter of hmac.new() has been changed to backwards-incompatible value.
Activity
wbond commentedon Feb 3, 2020
When running code on Python 3.8 that previous was running 3.3, I ran into the issue that the default value for the digestmod parameter of hmac.new() has been changed to backwards-incompatible value.
I generally would have expected such a break to show up in https://docs.python.org/3/whatsnew/3.8.html#api-and-feature-removals. If not there, somewhere on the 3.8 changelog page.
slateny commentedon Apr 25, 2022
The removal does seem mentioned under the function section, but I wonder if it should be also noted in the changelog
tiran commentedon Apr 25, 2022
It's documented in the 3.4 changelog, https://docs.python.org/3/whatsnew/3.4.html#hmac
tiran commentedon Apr 25, 2022
I would not object to add a note to the "porting to 3.8" section.
gh-83728: Add hmac.new default parameter deprecation (GH-91939)
pythongh-83728: Add hmac.new default parameter deprecation (pythonGH-…
pythongh-83728: Add hmac.new default parameter deprecation (pythonGH-…
pythongh-83728: Add hmac.new default parameter deprecation (pythonGH-…
gh-83728: Add hmac.new default parameter deprecation (GH-91939) (GH-9…
gh-83728: Add hmac.new default parameter deprecation (GH-91939) (GH-9…
gh-83728: Add hmac.new default parameter deprecation (GH-91939) (GH-9…
gh-83728: Add hmac.new default parameter deprecation (GH-91939) (GH-9…
ambv commentedon Jun 6, 2022
Fixed in 3.8+.
Revert 30935 defer bpo45162 to 312 (#94285)