[Python-checkins] bpo-36676: Update what's new document. (#13226)

Stefan Behnel webhook-mailer at python.org
Fri May 10 04:25:35 EDT 2019


https://github.com/python/cpython/commit/e9a465f3ea22c61e05ffe7b44a69102b25f57db4
commit: e9a465f3ea22c61e05ffe7b44a69102b25f57db4
branch: master
author: Stefan Behnel <stefan_ml at behnel.de>
committer: GitHub <noreply at github.com>
date: 2019-05-10T10:25:13+02:00
summary:

bpo-36676: Update what's new document. (#13226)

files:
M Doc/whatsnew/3.8.rst

diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index 49a6cb0788a1..6bb03422c6bc 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -558,6 +558,13 @@ xml
   :func:`–xml.etree.ElementTree.canonicalize()` that implements C14N 2.0.
   (Contributed by Stefan Behnel in :issue:`13611`.)
 
+* The target object of :class:`xml.etree.ElementTree.XMLParser` can
+  receive namespace declaration events through the new callback methods
+  ``start_ns()`` and ``end_ns()``.  Additionally, the
+  :class:`xml.etree.ElementTree.TreeBuilder` target can be configured
+  to process events about comments and processing instructions to include
+  them in the generated tree.
+  (Contributed by Stefan Behnel in :issue:`36676` and :issue:`36673`.)
 
 Optimizations
 =============



More information about the Python-checkins mailing list