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

vstinner merged 1 commit into
python:mainfrom
vstinner:frozendict_json

Conversation

@vstinner

@vstinner vstinner commented Feb 17, 2026 •

Copy link
Copy Markdown
Member
@vstinner

Copy link
Copy Markdown
Member Author

@corona10 corona10 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:main Feb 21, 2026
52 checks passed
@vstinner
vstinner deleted the frozendict_json branch February 21, 2026 11:22
@vstinner

Copy link
Copy Markdown
Member Author

Merged. Thanks for the review @corona10.

@serhiy-storchaka serhiy-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
Member Author

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().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants