From 06e1e688228013f411aca6309562ef80df6ce5d3 Mon Sep 17 00:00:00 2001 From: Diego Rojas Date: Sat, 16 Mar 2019 18:44:56 -0500 Subject: bpo-34160: Update news entry for XML order attributes (#12335) --- Doc/whatsnew/3.8.rst | 5 +++++ Misc/ACKS | 1 + 2 files changed, 6 insertions(+) diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst index 31ea0d1..eaa3f5b 100644 --- a/Doc/whatsnew/3.8.rst +++ b/Doc/whatsnew/3.8.rst @@ -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. diff --git a/Misc/ACKS b/Misc/ACKS index 2026852..9cddcb3 100644 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -1847,3 +1847,4 @@ Doug Zongker Peter Åstrand Zheao Li Carsten Klein +Diego Rojas -- cgit v0.12