bpo-27413: json.tool: Add `--no-ensure-ascii` option. by wimglenn · Pull Request #17472 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Merged
Merged
Conversation
Contributor
Added ability to pass through ensure_ascii options to json.dumps in the json.tool command-line interface.
Some motivation: https://stackoverflow.com/questions/52712674/how-to-use-json-tool-from-the-shell-to-validate-and-pretty-print-language-files
the-knights-who-say-ni
added
the
CLA signed
label
bedevere-bot
added
the
awaiting review
label
wimglenn
mentioned this pull request
methane
reviewed
Lib/test/test_json/test_tool.py Outdated
methane
changed the title
bpo-27413: Add an option to json.tool to dump non-ASCII characters.
bpo-27413: json.tool: Add --no-ensure-ascii option.
methane
approved these changes
bedevere-bot
added
awaiting merge
and removed
awaiting review
labels
Member
Test is failing because stdout is not UTF-8 on Windows.
Please use a temporary file for output.
dhimmel
mentioned this pull request
wimglenn
force-pushed
the
json_tool_again
branch
from
b49d113 to
f5c95a3
Compare
methane
reviewed
Lib/test/test_json/test_tool.py Outdated
wimglenn
force-pushed
the
json_tool_again
branch
from
f5c95a3 to
fb56a72
Compare
…on.dumps in the json.tool command-line-interface.
methane
merged commit
efefe25
into
python:master
bedevere-bot
removed
the
awaiting merge
label
wimglenn
deleted the
json_tool_again
branch
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment