]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-149571: Fix the C implementation of Element.itertext() (GH-149929) (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 27 May 2026 10:50:24 +0000 (12:50 +0200)
committerGitHub <noreply@github.com>
Wed, 27 May 2026 10:50:24 +0000 (10:50 +0000)
commit27a18eb4658704370fef1b2e2d75dcc1b0c5fb4c
treee5f312a25d5578a1ecf0960c6e404ea3f6d7fc79
parent8053ead86b8ca5f97472366a3623c53ee3a15350
[3.14] gh-149571: Fix the C implementation of Element.itertext() (GH-149929) (GH-150510)

It no longer emits text for comments and processing instructions.
(cherry picked from commit 7de4fcd44585f572acbcee23f5c7018b2b3f0983)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_xml_etree.py
Misc/NEWS.d/next/Library/2026-05-17-02-25-56.gh-issue-149571.LNyuWJ.rst [new file with mode: 0644]
Modules/_elementtree.c