[issue10019] json.dumps with indent = 0 not adding newlines
Amaury Forgeot d'Arc
report at bugs.python.org
Sun Oct 3 21:50:47 CEST 2010
Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:
The C encoder should not be used when indent=0. Here is a patch+test for 2.7.
Note that json.dump (into a file object) already correctly emit newlines.
----------
keywords: +patch
nosy: +amaury.forgeotdarc
Added file: http://bugs.python.org/file19124/json_indent0.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10019>
_______________________________________
More information about the Python-bugs-list
mailing list