Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-113056: Add a new parameter *compact* toplistlib.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 ourterms of service andprivacy 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 |
Wulian233 commentedOct 28, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
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 |
Uh oh!
There was an error while loading.Please reload this page.
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.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Wulian, you still haven't responded to why we can't add |
Wulian233 commentedOct 30, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I think setting Same name also exist in json.tool
https://github.com/python/cpython/blob/main/Lib/json/tool.py#L27-L27
|
|
Uh oh!
There was an error while loading.Please reload this page.
compact=False (default)
compact=True (new)
📚 Documentation preview 📚:https://cpython-previews--126075.org.readthedocs.build/