]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-149676: Fix hash(frozendict | frozendict) (#149675)
authorThomas Kowalski <thom.kowa@gmail.com>
Tue, 12 May 2026 10:47:39 +0000 (12:47 +0200)
committerGitHub <noreply@github.com>
Tue, 12 May 2026 10:47:39 +0000 (10:47 +0000)
commitf5fb491341e566bbaf17d9bf3e4ec3af4a56bb3f
treebb69f15dd8191417db329ede57bf855449f5fdc4
parentb546cc10f5c659344ce3cf49db6d9c92307ed1fc
gh-149676: Fix hash(frozendict | frozendict) (#149675)

Fix new_dict_impl() to properly initialize ma_hash on frozendict.

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_dict.py
Misc/NEWS.d/next/Core_and_Builtins/2026-05-11-14-48-56.gh-issue-149676.6aTrw1.rst [new file with mode: 0644]
Objects/dictobject.c