-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
gh-122873: Allow "python3 -m json" to work #122884
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
27e449d
Rename json.tool to json.__main__
treyhunner 423c971
Make json.tool delegate to json.__main__
treyhunner 1c1a8fa
Note json.tool deprecation
treyhunner f8f6931
Move main function from json.__main__ to json.tool
treyhunner 834fbd7
Remove deprecation warning
treyhunner 62afcf1
Fix module name as shown at command-line
treyhunner f58e60a
Update docs and what's new for json.tool to json
treyhunner 168082a
Remove duplicate json module description from docs
treyhunner 52039ee
Give up on marking `-m` as an option
treyhunner 2e37475
Remove unnecessary newline in changed note
treyhunner efd0503
Remove now-invalid json.tool module reference
treyhunner c6bb211
Add news entry with blurb
treyhunner e768e39
Remove older raw string usage in docstring
treyhunner a6b5c0d
Use sentence case in section title
treyhunner 3105bc2
Add CLI invocation for easier copy-pasting
treyhunner 238fc57
Update json.__init__ docstring for python -m json
treyhunner 7f704bf
Note `python -m json` in What's New
treyhunner fba68ac
Use SystemExit consistently in json package
treyhunner 8662c81
Improve grammar in news
treyhunner 52129e6
Add json.tool submodule documentation reference back in.
treyhunner 016206d
Note that json.tool still works for compatibility reasons
treyhunner 9b22285
Note that json.tool implements the CLI
treyhunner 9fd0c1c
Reference json.__main__ in json.tool docstring
treyhunner 734fbf9
Switch json.tool to json on listing of Python CLIs
treyhunner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Give up on marking
-m
as an option
- Loading branch information
commit 52039ee1c2072d02a0b45b0ecd560dc866c8fbb4
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.