[Python-checkins] bpo-34160: Update news entry for XML order attributes (#12335)

Raymond Hettinger webhook-mailer at python.org
Sat Mar 16 19:44:59 EDT 2019


https://github.com/python/cpython/commit/06e1e688228013f411aca6309562ef80df6ce5d3
commit: 06e1e688228013f411aca6309562ef80df6ce5d3
branch: master
author: Diego Rojas <rojastorrado at gmail.com>
committer: Raymond Hettinger <rhettinger at users.noreply.github.com>
date: 2019年03月16日T16:44:56-07:00
summary:
bpo-34160: Update news entry for XML order attributes (#12335)
files:
M Doc/whatsnew/3.8.rst
M Misc/ACKS
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index 31ea0d145819..eaa3f5b79f05 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 2026852db1a1..9cddcb3a871f 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1847,3 +1847,4 @@ Doug Zongker
 Peter Åstrand
 Zheao Li
 Carsten Klein
+Diego Rojas


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /