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

Wei-Cheng Pan report at bugs.python.org
Fri Jul 1 09:45:39 EDT 2016


Wei-Cheng Pan added the comment:

> The patch needs tests and documentation.

Ok, I'll update it later.

>> +    parser.add_argument('--no-ensure-ascii', action='store_true', default=False,
>I'd go with ``action='store_false', default=True``.

If I'm not misreading your comment, this will change the original behavior, right? (because options.no_ensure_ascii will be set to True by default)

----------

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


More information about the Python-bugs-list mailing list