Skip to content

gh-162047: Add PyFrozenDict_New() to the limited C API - #162048

Open
vstinner wants to merge 2 commits into
python:mainfrom
vstinner:limited_frozendict
Open

vstinner wants to merge 2 commits into
python:mainfrom
vstinner:limited_frozendict

Conversation

@vstinner

@vstinner vstinner commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

Add PEP 814 frozendict functions to the limited C API:

  • PyAnyDict_Check()
  • PyAnyDict_CheckExact()
  • PyFrozenDict_Check()
  • PyFrozenDict_CheckExact()
  • PyFrozenDict_New()

Move test wrappers from _testcapi to _testlimitedcapi.

Add PEP 814 frozendict functions to the limited C API:

* PyAnyDict_Check()
* PyAnyDict_CheckExact()
* PyFrozenDict_Check()
* PyFrozenDict_CheckExact()
* PyFrozenDict_New()

Move test wrappers from _testcapi to _testlimitedcapi.
@read-the-docs-community

read-the-docs-community Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #35933849 | 📁 Comparing 81c3552 against main (369d8bc)

  🔍 Preview build  

5 files changed · ± 5 modified

± Modified

@vstinner
vstinner requested a review from a team as a code owner November 16, 2026 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant