summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-03-10 19:41:28 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-03-10 19:41:28 (GMT)
commit60de1a0fd51ebd398a7677bb245f7e762baca5df (patch)
tree173af9125b2b20b91e87399f883f688fd01226fd
parente8db162f62c369ce6dcbb92190d0aa2c03a15acb (diff)
downloadcpython-60de1a0fd51ebd398a7677bb245f7e762baca5df.zip
cpython-60de1a0fd51ebd398a7677bb245f7e762baca5df.tar.gz
cpython-60de1a0fd51ebd398a7677bb245f7e762baca5df.tar.bz2
whatsnew: json dump-with-indent whitespace change (#16333).
-rw-r--r--Doc/whatsnew/3.4.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
index 2190672..f392560 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
--------------------