]> granicus.if.org Git - python/commit
bpo-34941: Fix searching Element subclasses. (GH-9766)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 14 Oct 2018 07:32:19 +0000 (10:32 +0300)
committerGitHub <noreply@github.com>
Sun, 14 Oct 2018 07:32:19 +0000 (10:32 +0300)
commitb11c5667f99c4f0018e3394c4d07c519d835671a
treeac3b022a3fd36c1016bc7f630c7ed858028522ad
parentd274afb5e579a5d9d990f68f9af856cf4c918779
bpo-34941: Fix searching Element subclasses. (GH-9766)

Methods find(), findtext() and findall() of xml.etree.ElementTree.Element
were not able to find chldren which are instances of Element subclasses.
Lib/test/test_xml_etree.py
Misc/NEWS.d/next/Library/2018-10-09-14-42-16.bpo-34941.1Q5QKv.rst [new file with mode: 0644]
Modules/_elementtree.c