]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-34160: Update news entry for XML order attributes (#12335)
authorDiego Rojas <rojastorrado@gmail.com>
Sat, 16 Mar 2019 23:44:56 +0000 (18:44 -0500)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>
Sat, 16 Mar 2019 23:44:56 +0000 (16:44 -0700)
Doc/whatsnew/3.8.rst
Misc/ACKS

index 31ea0d1458195ccda744b2abba21363a2e2e75d5..eaa3f5b79f05658be5a3cf64b82e8f645b347d43 100644 (file)
@@ -614,6 +614,11 @@ Changes in the Python API
   specialized methods like :meth:`~tkinter.ttk.Treeview.selection_set` for
   changing the selection.  (Contributed by Serhiy Storchaka in :issue:`31508`.)
 
+* The :meth:`writexml`, :meth:`toxml` and :meth:`toprettyxml` methods of the
+  :mod:`xml.dom.minidom` module, and :mod:`xml.etree` now preserve the attribute
+  order specified by the user.
+  (Contributed by Diego Rojas and Raymond Hettinger in :issue:`34160`.)
+
 * A :mod:`dbm.dumb` database opened with flags ``'r'`` is now read-only.
   :func:`dbm.dumb.open` with flags ``'r'`` and ``'w'`` no longer creates
   a database if it does not exist.
index 2026852db1a1121cb5b824a89a8660509dbd7381..9cddcb3a871f70dde9ae62004c05e413408c5914 100644 (file)
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1847,3 +1847,4 @@ Doug Zongker
 Peter Åstrand
 Zheao Li
 Carsten Klein
+Diego Rojas