cpython/Misc/NEWS.d/next/Core_and_Builtins/2024-07-26-13-56-32.gh-issue-120906.qBh2I9.rst

:attr:`frame.f_locals` now supports arbitrary hashable objects as keys.