]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-120097: Make FrameLocalsProxy a mapping (#120101)
authorMark Shannon <mark@hotpy.org>
Wed, 19 Jun 2024 16:54:13 +0000 (17:54 +0100)
committerGitHub <noreply@github.com>
Wed, 19 Jun 2024 16:54:13 +0000 (17:54 +0100)
commitd1c673b658977a8e6236feee579308e0ed6a0187
tree7202eaae095a36918a8d72503c9bbf9af9786205
parent00257c746c447a2e026b5a2a618f0e033fb90111
GH-120097: Make FrameLocalsProxy a mapping (#120101)

* Register FrameLocalsProxy as a subclass of collections.abc.Mapping

* Allow FrameLocalsProxy to matching mapping patterns
Lib/_collections_abc.py
Lib/test/test_frame.py
Misc/NEWS.d/next/Core and Builtins/2024-06-05-10-32-44.gh-issue-120097.9S2klk.rst [new file with mode: 0644]
Objects/frameobject.c