-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
gh-113056: Add a new parameter *compact* to plistlib.dump
#126075
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
base: main
Are you sure you want to change the base?
Conversation
Wouldn't |
https://docs.python.org/3.14/library/json.html#basic-usage Also exist in json.tool
https://github.com/python/cpython/blob/main/Lib/json/tool.py#L27-L27 |
No, that's
|
Would it make sense to test that when |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not a macOS user, so I have no opinion about this feature.
Wulian, you still haven't responded to why we can't add |
I think setting Same name also exist in json.tool
https://github.com/python/cpython/blob/main/Lib/json/tool.py#L27-L27
|
|
compact=False (default)
compact=True (new)
📚 Documentation preview 📚: https://cpython-previews--126075.org.readthedocs.build/