[issue27413] Add an option to json.tool to bypass non-ASCII characters.

Berker Peksag report at bugs.python.org
Fri Jul 1 03:36:21 EDT 2016


Berker Peksag added the comment:

The patch needs tests and documentation.

> +    parser.add_argument('--no-ensure-ascii', action='store_true', default=False,

I'd go with ``action='store_false', default=True``.

----------
nosy: +berker.peksag
stage:  -> patch review

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27413>
_______________________________________


More information about the Python-bugs-list mailing list