summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2019-05-03 18:58:16 (GMT)
committerGitHub <noreply@github.com>2019-05-03 18:58:16 (GMT)
commit47541689ccea79dfcb055c6be5800b13fcb6bdd2 (patch)
tree7580016557a064cc019fe41d1d62e57ac3dcc8c6 /Doc/whatsnew
parentcf48e55f7f7718482fa712552f0cbc0aea1c826f (diff)
downloadcpython-47541689ccea79dfcb055c6be5800b13fcb6bdd2.zip
cpython-47541689ccea79dfcb055c6be5800b13fcb6bdd2.tar.gz
cpython-47541689ccea79dfcb055c6be5800b13fcb6bdd2.tar.bz2
bpo-28238: Implement "{*}tag" and "{ns}*" wildcard tag selection support for ElementPath, and extend the surrounding tests and docs. (GH-12997)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.8.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index 82be927..764bd00 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -532,6 +532,11 @@ xml
external entities by default.
(Contributed by Christian Heimes in :issue:`17239`.)
+* The ``.find*()`` methods in the :mod:`xml.etree.ElementTree` module
+ support wildcard searches like ``{*}tag`` which ignores the namespace
+ and ``{namespace}*`` which returns all tags in the given namespace.
+ (Contributed by Stefan Behnel in :issue:`28238`.)
+
* The :mod:`xml.etree.ElementTree` module provides a new function
:func:`–xml.etree.ElementTree.canonicalize()` that implements C14N 2.0.
(Contributed by Stefan Behnel in :issue:`13611`.)