]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] gh-99502: mention bytes-like objects as input in `secrets.compare_digest`...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 26 Nov 2022 09:49:08 +0000 (01:49 -0800)
committerGitHub <noreply@github.com>
Sat, 26 Nov 2022 09:49:08 +0000 (15:19 +0530)
commit1fc2e2aa920aa4daa2924a3dee9dfe1843ca0e9b
tree08e175bce9ae3a64268b54ee6c6dc17c2955306d
parentfae745ed14416ab161bd31098b1555ee95ad97cc
[3.10] gh-99502: mention bytes-like objects as input in `secrets.compare_digest` (GH-99512) (#99790)

gh-99502: mention bytes-like objects as input in `secrets.compare_digest` (GH-99512)

Now it is in sync with https://docs.python.org/3/library/hmac.htmlGH-hmac.compare_digest
It is the same function, just re-exported. So, I guess they should mention the same input types.
(cherry picked from commit 47d673d81fc315069c14f9438ebe61fb70ef1ccc)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Doc/library/secrets.rst