Skip to content

gh-141510: Document frozendict support in json - #155929

Merged
corona10 merged 1 commit into
python:mainfrom
fregataa:docs-json-frozendict
Aug 17, 2026
Merged

gh-141510: Document frozendict support in json#155929
corona10 merged 1 commit into
python:mainfrom
fregataa:docs-json-frozendict

Conversation

@fregataa

@fregataa fregataa commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

json gained frozendict support in 3.15 (GH-144903), but the docs were never updated: the Python-to-JSON conversion table in Doc/library/json.rst, while the equivalent table in the JSONEncoder docstring(Lib/json/encoder.py) already says dict, frozendict.

This updates the table and adds the corresponding versionchanged note.

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #34095731 | 📁 Comparing 9b938e9 against main (e13c3d6)

  🔍 Preview build  

1 file changed
± library/json.html

@corona10 corona10 added the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Aug 17, 2026

@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!

@corona10
corona10 merged commit c3df37c into python:main Aug 17, 2026
42 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Aug 17, 2026
@miss-islington-app

Copy link
Copy Markdown

Thanks @fregataa for the PR, and @corona10 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Aug 17, 2026

Copy link
Copy Markdown

GH-155933 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news sprint

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants