Skip to content

[3.8] bpo-33604: Raise TypeError on missing hmac arg. (GH-16805)#16833

Merged
miss-islington merged 1 commit into
python:3.8from
miss-islington:backport-f33c57d-3.8
Oct 18, 2019
Merged

[3.8] bpo-33604: Raise TypeError on missing hmac arg. (GH-16805)#16833
miss-islington merged 1 commit into
python:3.8from
miss-islington:backport-f33c57d-3.8

Conversation

@miss-islington

@miss-islington miss-islington commented Oct 18, 2019

Copy link
Copy Markdown
Contributor

Also updates the documentation to clarify the situation surrounding
the digestmod parameter that is required despite its position in the
argument list as of 3.8.0 as well as removing old python2 era
references to "binary strings".

We indavertently had this raise ValueError in 3.8.0 for the missing
arg. This is not considered an API change as no reasonable code would
be catching this missing argument error in order to handle it.
(cherry picked from commit f33c57d)

Co-authored-by: Gregory P. Smith greg@krypto.org

https://bugs.python.org/issue33604

Automerge-Triggered-By: @gpshead

Also updates the documentation to clarify the situation surrounding
the digestmod parameter that is required despite its position in the
argument list as of 3.8.0 as well as removing old python2 era
references to "binary strings".

We indavertently had this raise ValueError in 3.8.0 for the missing
arg.  This is not considered an API change as no reasonable code would
be catching this missing argument error in order to handle it.
(cherry picked from commit f33c57d)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
@bedevere-bot bedevere-bot added type-bug An unexpected behavior, bug, or error docs Documentation in the Doc dir awaiting review labels Oct 18, 2019
@miss-islington

Copy link
Copy Markdown
Contributor Author

@gpshead: Status check is done, and it's a success ✅ .

@miss-islington
miss-islington merged commit c615db6 into python:3.8 Oct 18, 2019
@miss-islington
miss-islington deleted the backport-f33c57d-3.8 branch October 18, 2019 03:48
@miss-islington

Copy link
Copy Markdown
Contributor Author

@gpshead: Status check is done, and it's a success ✅ .

1 similar comment
@miss-islington

Copy link
Copy Markdown
Contributor Author

@gpshead: Status check is done, and it's a success ✅ .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants