]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-142554: avoid `divmod` crashes due to bad `_pylong.int_divmod` (GH-142673...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 14 Dec 2025 09:04:37 +0000 (10:04 +0100)
committerGitHub <noreply@github.com>
Sun, 14 Dec 2025 09:04:37 +0000 (09:04 +0000)
commitaef4552d046ab5d0fdb9abbfd50132778437f4cd
treef05b3b27570a774be0efb5a6449e781e98d595f9
parent7297d3a98d377519c83ef142043ad22376abfe7c
[3.14] gh-142554: avoid `divmod` crashes due to bad `_pylong.int_divmod` (GH-142673) (#142696)

gh-142554: avoid `divmod` crashes due to bad `_pylong.int_divmod` (GH-142673)
(cherry picked from commit 4e4163676add8caab2dec6cdb93e1b317cf02a2e)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Lib/test/test_int.py
Misc/NEWS.d/next/Core_and_Builtins/2025-12-13-17-20-38.gh-issue-142554.wNtEFF.rst [new file with mode: 0644]
Objects/longobject.c