[issue16333] Trailing whitespace in json dump when using indent

Zach Mathew report at bugs.python.org
Mon Oct 29 04:16:47 CET 2012


Zach Mathew added the comment:

To Ezio's first point ... yes, I was wondering if trailing whitespace should be left alone in the case of an explicitly defined separator. However, this behavior seems a little odd to me as I don't see a use case for it (happy to change the patch if there are differing opinions on this).

Keep in mind that the patch does retain the *leading* white space (for both default and explicit separators) - only trailing whitespace is removed prior to newlines.

----------

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


More information about the Python-bugs-list mailing list