diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2019-05-10 08:25:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-10 08:25:13 (GMT) |
commit | e9a465f3ea22c61e05ffe7b44a69102b25f57db4 (patch) | |
tree | 546f0e81796d7f2785818e758826020fe6d622b9 /Doc | |
parent | 79efbb719383386051c72f2ee932eeca8e033e6b (diff) | |
download | cpython-e9a465f3ea22c61e05ffe7b44a69102b25f57db4.zip cpython-e9a465f3ea22c61e05ffe7b44a69102b25f57db4.tar.gz cpython-e9a465f3ea22c61e05ffe7b44a69102b25f57db4.tar.bz2 |
bpo-36676: Update what's new document. (#13226)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/3.8.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst index 49a6cb0..6bb0342 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 ============= |