Skip to content

gh-141510, PEP 814: Add frozendict support to json - #144903

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:frozendict_json
Feb 21, 2026
Merged

gh-141510, PEP 814: Add frozendict support to json#144903
vstinner merged 1 commit into
python:mainfrom
vstinner:frozendict_json

Conversation

@vstinner

@vstinnervstinner commented Feb 17, 2026

Copy link
Copy Markdown
Member

@vstinner

Copy link
Copy Markdown
MemberAuthor

cc @serhiy-storchaka

@corona10corona10 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm from my side.

@vstinner
vstinner merged commit 7b0bd9e into python:mainFeb 21, 2026
56 checks passed
@vstinner
vstinner deleted the frozendict_json branch February 21, 2026 11:22
@vstinner

Copy link
Copy Markdown
MemberAuthor

Merged. Thanks for the review @corona10.

@serhiy-storchakaserhiy-storchaka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does PyDict_Next() work with frozendict?

@vstinner

Copy link
Copy Markdown
MemberAuthor

Does PyDict_Next() work with frozendict?

Yes, it does. Most PyDict C API functions work also with frozendict, except of functions modifying the dictionary such as PyDict_SetItem(), PyDict_DelItem() and PyDict_Pop().

brijkapadia pushed a commit to brijkapadia/cpython that referenced this pull request Feb 28, 2026
ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@vstinner@serhiy-storchaka@corona10