]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] 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:52:02 +0000 (12:52 +0200)
committerGitHub <noreply@github.com>
Wed, 27 May 2026 10:52:02 +0000 (10:52 +0000)
commitd2b10e75c7093fd9637dc8428d94cb8c723f808d
tree94557a0d13b73062d0efa0c56bd8dd95f9917b37
parent528356eac0adf70fed0cf37dbb04c8fd529672d8
[3.15] gh-149571: Fix the C implementation of Element.itertext() (GH-149929) (GH-150509)

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