[Python-checkins] cpython: whatsnew: json dump-with-indent whitespace change (#16333).
r.david.murray
python-checkins at python.org
Mon Mar 10 23:11:41 CET 2014
http://hg.python.org/cpython/rev/bb43e8e05a7c
changeset: 89571:bb43e8e05a7c
user: R David Murray <rdmurray at bitdance.com>
date: Mon Mar 10 15:41:28 2014 -0400
summary:
whatsnew: json dump-with-indent whitespace change (#16333).
files:
Doc/whatsnew/3.4.rst | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -2340,6 +2340,12 @@
*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
--------------------
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list