]> granicus.if.org Git - python/commitdiff
whatsnew: json dump-with-indent whitespace change (#16333).
authorR David Murray <rdmurray@bitdance.com>
Mon, 10 Mar 2014 19:41:28 +0000 (15:41 -0400)
committerR David Murray <rdmurray@bitdance.com>
Mon, 10 Mar 2014 19:41:28 +0000 (15:41 -0400)
Doc/whatsnew/3.4.rst

index 2190672388d9d31f4cd40d1490573dbbc5f5e0e6..f392560d0a12b9a13c03c6b1b4fd2a7e5f9c0557 100644 (file)
@@ -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
 --------------------