This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ezio.melotti
Recipients eric.araujo, ezio.melotti, pitrou, r.david.murray, rhettinger, serhiy.storchaka, techtonik, zach.mathew
Date 2012-11-28.19:49:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1354132194.78.0.474110014519.issue16333@psf.upfronthosting.co.za>
In-reply-to
Content
> There is no promise of binary compatibility for pretty-printed data.

This was the reason that made me consider backporting this on the other branches.  After all I expect this feature to be used from the terminal, while printing JSON in a human-friendly format and in other situations were trailing spaces would have little or no importance.
OTOH people might be used pretty-printed JSON in tests to get a better a diff for example, and changing that in a debug release might be annoying.

IOW the annoyance of having trailing spaces if it doesn't get fixed evens out the annoyance of having a possibly unwanted change of behavior if it does get fixed.

Serhiy patches look good to me (modulo a couple of minor typos), so I will probably apply them as soon as I get a chance.
History
Date User Action Args
2012-11-28 19:49:55ezio.melottisetrecipients: + ezio.melotti, rhettinger, pitrou, techtonik, eric.araujo, r.david.murray, serhiy.storchaka, zach.mathew
2012-11-28 19:49:54ezio.melottisetmessageid: <1354132194.78.0.474110014519.issue16333@psf.upfronthosting.co.za>
2012-11-28 19:49:54ezio.melottilinkissue16333 messages
2012-11-28 19:49:53ezio.melotticreate