]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-149676: Fix hash(frozendict | frozendict) (GH-149675) (#149717)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 12 May 2026 13:57:02 +0000 (15:57 +0200)
committerGitHub <noreply@github.com>
Tue, 12 May 2026 13:57:02 +0000 (15:57 +0200)
commitd3b86111ef7913077394c40fff1eb8941b30be51
tree00f3aa65d69623dc8896af0381e91e48ecec012c
parent45c431a55db2b05bb21b76cd95f6775cc13ce9fb
[3.15] gh-149676: Fix hash(frozendict | frozendict) (GH-149675) (#149717)

gh-149676: Fix hash(frozendict | frozendict) (GH-149675)

Fix new_dict_impl() to properly initialize ma_hash on frozendict.
(cherry picked from commit f5fb491341e566bbaf17d9bf3e4ec3af4a56bb3f)

Co-authored-by: Thomas Kowalski <thom.kowa@gmail.com>
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