Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
I don't think this should be done: * Guido didn't want Python to grow into a collection of command-line tools * Browsers like Chrome already provide XML viewers * If you pretty print JSON, you don't change its meaning, but for XML, it adds "text" and "tail" at non-leaf nodes. And if leaf text is indented and/or line-wrapped, that also changes the stored values. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37940> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com