]> granicus.if.org Git - python/commitdiff
bpo-36676: Update what's new document. (#13226)
authorStefan Behnel <stefan_ml@behnel.de>
Fri, 10 May 2019 08:25:13 +0000 (10:25 +0200)
committerGitHub <noreply@github.com>
Fri, 10 May 2019 08:25:13 +0000 (10:25 +0200)
Doc/whatsnew/3.8.rst

index 49a6cb0788a137ef0030b1de3d9cc7c46b750d1f..6bb03422c6bc3ef1e3c1cf529777eed7971b0928 100644 (file)
@@ -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
 =============