]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-142218: Fix split table dictionary crash (gh-142229) (gh-142244)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 4 Dec 2025 00:03:18 +0000 (01:03 +0100)
committerGitHub <noreply@github.com>
Thu, 4 Dec 2025 00:03:18 +0000 (00:03 +0000)
commit319c6a2ae1ea033d5aea09a43acbc8d451764869
treeadce0d081799f58bb094b4b4f35928083bd70f5d
parent027f21e417b26eed4505ac2db101a4352b7c51a0
[3.14] gh-142218: Fix split table dictionary crash (gh-142229) (gh-142244)

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)

Co-authored-by: Sam Gross <colesbury@gmail.com>
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