Skip to content

gh-131884: Fix incorrect formatting in json.dumps() when using indent and skipkeys=True #132200

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

roeibenartzi
Copy link
Contributor

@roeibenartzi roeibenartzi commented Apr 7, 2025

@python-cla-bot
Copy link

python-cla-bot bot commented Apr 7, 2025

All commit authors signed the Contributor License Agreement.

CLA signed

@bedevere-app
Copy link

bedevere-app bot commented Apr 7, 2025

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

Copy link
Contributor

@nineteendo nineteendo left a comment

Choose a reason for hiding this comment

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

Looks good, this matches what I did in jsonyx.

Copy link
Member

@serhiy-storchaka serhiy-storchaka left a comment

Choose a reason for hiding this comment

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

LGTM. 👍

@serhiy-storchaka serhiy-storchaka added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Jun 3, 2025
@serhiy-storchaka serhiy-storchaka merged commit ec12559 into python:main Jun 3, 2025
53 checks passed
@miss-islington-app
Copy link

Thanks @roeibenartzi for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 3, 2025
…indent and skipkeys=True (pythonGH-132200)

(cherry picked from commit ec12559)

Co-authored-by: Roei Ben Artzi <[email protected]>
@miss-islington-app
Copy link

Sorry, @roeibenartzi and @serhiy-storchaka, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker ec12559ebafca01ded22c9013de64abe535c838d 3.13

@bedevere-app
Copy link

bedevere-app bot commented Jun 3, 2025

GH-135060 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Jun 3, 2025
serhiy-storchaka pushed a commit to serhiy-storchaka/cpython that referenced this pull request Jun 3, 2025
… using indent and skipkeys=True (pythonGH-132200)

(cherry picked from commit ec12559)

Co-authored-by: Roei Ben Artzi <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Jun 3, 2025

GH-135061 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Jun 3, 2025
serhiy-storchaka pushed a commit to serhiy-storchaka/cpython that referenced this pull request Jun 3, 2025
… using indent and skipkeys=True (pythonGH-132200)

(cherry picked from commit ec12559)

Co-authored-by: Roei Ben Artzi <[email protected]>
@serhiy-storchaka
Copy link
Member

Thank you for your contribution @roeibenartzi.

Please sign the CLI also for your GitHub address. This is necessary for backporting.

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.

3 participants