]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-142218: Fix split table dictionary crash (gh-142229) (gh-142245)
authorSam Gross <colesbury@gmail.com>
Thu, 4 Dec 2025 07:46:24 +0000 (02:46 -0500)
committerGitHub <noreply@github.com>
Thu, 4 Dec 2025 07:46:24 +0000 (07:46 +0000)
commit1a75c0fb054db6910fc2b74c99911329b80e25b5
treed0619d64c78df2819dcde19130f8fbbfee794a12
parent03cceb1a512881bcea188d84f9979689cdff33a5
[3.13] gh-142218: Fix split table dictionary crash (gh-142229) (gh-142245)

This fixes a regression introduced in gh-140558. The interpreter would
crash if we inserted a non `str` key into a split table that matches an
existing key.
(cherry picked from commit 547d8daf780646e2800bec598ed32085817c8606)
Lib/test/test_dict.py
Misc/NEWS.d/next/Core and Builtins/2025-12-03-11-03-35.gh-issue-142218.44Fq_J.rst [new file with mode: 0644]
Objects/dictobject.c