]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-74929: Make containment checks more efficient in `FrameLocalsProxy` (#118624)
authorTian Gao <gaogaotiantian@hotmail.com>
Mon, 6 May 2024 10:16:48 +0000 (03:16 -0700)
committerGitHub <noreply@github.com>
Mon, 6 May 2024 10:16:48 +0000 (20:16 +1000)
commitafbe5bf9c8c621bb19833a06e296245c41f0dbc5
tree6bf544f596c6d33f6604634921b63d99ab764ca2
parent757fd3e0101c85081dfec60cbab26519b7a40305
gh-74929: Make containment checks more efficient in `FrameLocalsProxy` (#118624)

Properly implement the `sq_contains` slot for frame locals proxy containment checks.
Objects/frameobject.c