镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

PEP 819: Disambiguate JSON parsing and make new files required - #4773

Open
emmatyping wants to merge 3 commits into
python:mainfrom
wheelnext:norender-pep819-updates-part1
Open

emmatyping wants to merge 3 commits into
python:mainfrom
wheelnext:norender-pep819-updates-part1

Conversation

@emmatyping

@emmatyping emmatyping commented Jan 7, 2026 •

Copy link
Copy Markdown
Member

Update the PEP to clarify that integers and floats should be serialized to strings and specify that when there are duplicate keys the second key wins in a JSON object. Also make the new metadata files required.

  • Change is either:
    • To a Draft PEP
    • To an Accepted or Final PEP, with Steering Council approval
    • To fix an editorial issue (markup, typo, link, header, etc)
  • PR title prefixed with PEP number (e.g. PEP 123: Summary of changes)

📚 Documentation preview 📚: https://pep-previews--4773.org.readthedocs.build/

Update the PEP to clarify that integers and floats should be serialized to strings,
and specify that when there are duplicate keys the second key wins in a JSON object.
@emmatyping emmatyping changed the title PEP 819: Add information about duplicate keys and integer parsing PEP 819: Disambiguate JSON parsing and make new files required Jan 7, 2026

This branch has not been deployed

No deployments
Sign up for free to 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.

1 participant