]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.6] bpo-34941: Fix searching Element subclasses. (GH-9766) (GH-9868)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 14 Oct 2018 08:40:13 +0000 (11:40 +0300)
committerGitHub <noreply@github.com>
Sun, 14 Oct 2018 08:40:13 +0000 (11:40 +0300)
commit7c1c42b3209f1d2546daab6cd77f953eb255df6c
tree841c830ff40f993b7eab920ed996b8311c881ed4
parent68299305c7898eb8eb0cea6cad19c299d0d1ba2d
[3.6] bpo-34941: Fix searching Element subclasses. (GH-9766) (GH-9868)

Methods find(), findtext() and findall() of xml.etree.ElementTree.Element
were not able to find chldren which are instances of Element subclasses.
(cherry picked from commit b11c5667f99c4f0018e3394c4d07c519d835671a)
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