From 60de1a0fd51ebd398a7677bb245f7e762baca5df Mon Sep 17 00:00:00 2001 From: R David Murray Date: Mon, 10 Mar 2014 15:41:28 -0400 Subject: [PATCH] whatsnew: json dump-with-indent whitespace change (#16333). --- Doc/whatsnew/3.4.rst | 6 ++++++ 1 file changed, 6 insertions(+) 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 -------------------- -- 2.40.0