Skip to content

gh-128805: Clarify the deprecation notice of xml.etree.cElementTree - #156779

Open
serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:gh-128805-celementtree-notice
Open

gh-128805: Clarify the deprecation notice of xml.etree.cElementTree#156779
serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:gh-128805-celementtree-notice

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Sep 1, 2026

Copy link
Copy Markdown
Member

The notice was read as deprecating xml.etree.ElementTree itself, because the page does not mention cElementTree anywhere else, so there is nothing to tell the reader that it is only an alias.

Saying that the alias is deprecated is enough to scope it.

This revives GH-144459, which was closed for reasons unrelated to its content.

…Tree

It was read as deprecating xml.etree.ElementTree itself, because the page
does not mention cElementTree anywhere else.
@serhiy-storchaka serhiy-storchaka added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes skip news labels Sep 1, 2026
@bedevere-app bedevere-app Bot added docs Documentation in the Doc dir awaiting core review labels Sep 1, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs Sep 1, 2026
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #34334078 | 📁 Comparing 3587780 against main (374851f)

  🔍 Preview build  

1 file changed
± library/xml.etree.elementtree.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting merge docs Documentation in the Doc dir needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes skip news

3 participants