]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-129349: Accept bytes in bytes.fromhex()/bytearray.fromhex() (#129844)
authorDaniel Pope <lordmauve@users.noreply.github.com>
Wed, 12 Mar 2025 10:40:11 +0000 (10:40 +0000)
committerGitHub <noreply@github.com>
Wed, 12 Mar 2025 10:40:11 +0000 (11:40 +0100)
commite0637cebe5bf863897f2e89dfcb76be0015c1877
tree54f308a209c3f9ff3210df7a55450ed5e84df7cf
parent405a2d74cbdef5a899c900b6897ec85fe465abd2
gh-129349: Accept bytes in bytes.fromhex()/bytearray.fromhex() (#129844)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Doc/library/stdtypes.rst
Doc/whatsnew/3.14.rst
Lib/test/test_bytes.py
Misc/NEWS.d/next/Core_and_Builtins/2025-02-08-09-55-33.gh-issue-129349.PkcG-l.rst [new file with mode: 0644]
Objects/bytearrayobject.c
Objects/bytesobject.c
Objects/clinic/bytearrayobject.c.h
Objects/clinic/bytesobject.c.h