]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] 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:49:54 +0000 (12:49 +0200)
committerGitHub <noreply@github.com>
Wed, 27 May 2026 10:49:54 +0000 (10:49 +0000)
commit98a9ccbe39c26608a625b4b43f1ed90dcd1fc19b
tree51f947d09de276d2b6874de059dea0e5ee83b5b0
parent43f71b0005bc50d929b3a210f3ce5aeea11f904f
[3.13] gh-149571: Fix the C implementation of Element.itertext() (GH-149929) (GH-150511)

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