]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-142218: Fix split table dictionary crash (gh-142229)
authorSam Gross <colesbury@gmail.com>
Wed, 3 Dec 2025 23:37:35 +0000 (18:37 -0500)
committerGitHub <noreply@github.com>
Wed, 3 Dec 2025 23:37:35 +0000 (18:37 -0500)
commit547d8daf780646e2800bec598ed32085817c8606
treea8c1b201ee054ff7b8819fdb002c7c4b3bb85f14
parent618dc367146069f8f0aaeb0a4a7f1b834dc4a213
gh-142218: Fix split table dictionary crash (gh-142229)

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.
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