]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-94684: uuid: support bytes in the name argument to uuid3/5 (#94709)
authorMonadChains <monadchains@gmail.com>
Thu, 23 Mar 2023 23:42:43 +0000 (00:42 +0100)
committerGitHub <noreply@github.com>
Thu, 23 Mar 2023 23:42:43 +0000 (17:42 -0600)
commit413b7db8a480ea6e0d3e8c9729502282ca748a84
tree605e3b2e78cddf41558d7e0b0f010496f33cceee
parentf1e3eeebc01941f9c25bca4d2fa6313cf5041cc4
gh-94684: uuid: support bytes in the name argument to uuid3/5 (#94709)

RFC 4122 does not specify that name should be a string, so for completness the functions should also support a name given as a raw byte sequence.
Doc/library/uuid.rst
Lib/test/test_uuid.py
Lib/uuid.py
Misc/NEWS.d/next/Library/2022-07-09-13-07-30.gh-issue-94684.nV5yno.rst [new file with mode: 0644]