From: R David Murray Date: Mon, 10 Mar 2014 19:41:28 +0000 (-0400) Subject: whatsnew: json dump-with-indent whitespace change (#16333). X-Git-Tag: v3.4.1rc1~233^2~70 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=60de1a0fd51ebd398a7677bb245f7e762baca5df;p=python whatsnew: json dump-with-indent whitespace change (#16333). --- diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst index 2190672388..f392560d0a 100644 --- a/Doc/whatsnew/3.4.rst +++ b/Doc/whatsnew/3.4.rst @@ -2340,6 +2340,12 @@ Changes in the Python API *not* be installed, you must add ``--wihtout-pip`` to your command invocation. +* The default behavior of :func:`json.dump` and :func:`json.dumps` when + an indent is specified has changed: it no longer produces trailing + spaces after the item separating commas at the ends of lines. This + will matter only if you have tests that are doing white-space-sensitive + comparisons of such output (:issue:`16333`). + Changes in the C API --------------------