]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-71810: Fix corner case (length==0) for int.to_bytes() (GH-138739) (#138782)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 12 Sep 2025 13:22:43 +0000 (15:22 +0200)
committerGitHub <noreply@github.com>
Fri, 12 Sep 2025 13:22:43 +0000 (16:22 +0300)
commit440b83f8387a216a6cf0d04349543c72c0286e5b
tree936b03dd5ba0745fdd65377664a986d67727ad34
parentc8cc39d938334fb2c09c47d105237343ec6ee099
[3.14] gh-71810: Fix corner case (length==0) for int.to_bytes() (GH-138739) (#138782)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_long.py
Misc/NEWS.d/next/Core_and_Builtins/2025-09-10-14-53-59.gh-issue-71810.ppf0J-.rst [new file with mode: 0644]
Objects/longobject.c