FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.15] gh-141510 Document and test frozendict class matching behaviour (GH-150799) by miss-islington · Pull Request #151701 · python/cpython · GitHub

/ cpython Public

[3.15] gh-141510 Document and test frozendict class matching behaviour (GH-150799) - #151701

Merged
vstinner merged 1 commit into
python:3.15from
miss-islington:backport-fd53ae1-3.15
Jun 19, 2026
Merged

[3.15] gh-141510 Document and test frozendict class matching behaviour (GH-150799)#151701
vstinner merged 1 commit into
python:3.15from
miss-islington:backport-fd53ae1-3.15

Conversation

miss-islington commented Jun 19, 2026
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

Frozendict has _Py_TPFLAGS_MATCH_SELF set so works correctly
with the single-arg class matching. However it isn't documented
in the list of classes this works with and it isn't tested.

The test is some way below the other similar tests but anything
else would need a large renumbering.
(cherry picked from commit fd53ae1)

Co-authored-by: da-woods dw-git@d-woods.co.uk

…pythonGH-150799)

Frozendict has `_Py_TPFLAGS_MATCH_SELF` set so works correctly
with the single-arg class matching. However it isn't documented
in the list of classes this works with and it isn't tested.

The test is some way below the other similar tests but anything
else would need a large renumbering.
(cherry picked from commit fd53ae1)

Co-authored-by: da-woods <dw-git@d-woods.co.uk>
bedevere-app Bot added the tests Tests in the Lib/test dir label Jun 19, 2026
vstinner enabled auto-merge (squash) June 19, 2026 08:20
vstinner merged commit 7e36838 into python:3.15 Jun 19, 2026
59 checks passed
miss-islington deleted the backport-fd53ae1-3.15 branch June 19, 2026 08:45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL