Skip to content

gh-76007: Deprecate VERSION in xml.etree.ElementTree & version in xml.sax.expatreader & xml.sax.handler - #142898

Merged
hugovk merged 7 commits into
python:mainfrom
hugovk:3.15-deprecate-version-xml
Dec 18, 2025
Merged

gh-76007: Deprecate VERSION in xml.etree.ElementTree & version in xml.sax.expatreader & xml.sax.handler#142898
hugovk merged 7 commits into
python:mainfrom
hugovk:3.15-deprecate-version-xml

Conversation

@hugovk

@hugovkhugovk commented Dec 17, 2025

Copy link
Copy Markdown
Member

@hugovkhugovk changed the title Deprecate VERSION in xml.etree.ElementTree and version in xml.sax.expatreader and xml.sax.handlergh-76007: Deprecate VERSION in xml.etree.ElementTree & version in xml.sax.expatreader & xml.sax.handlerDec 17, 2025
Comment threadLib/test/test_sax.py
Comment threadLib/test/test_xml_etree.py
Comment threadLib/xml/etree/ElementTree.py
Comment threadLib/xml/sax/expatreader.py

@vstinnervstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I just suggest leaving the test URL unchanged, and write a dedicated PR for that.

Comment threadLib/test/test_sax.py
Comment threadLib/xml/sax/expatreader.py Outdated
@hugovk
hugovk enabled auto-merge (squash) December 18, 2025 13:54
@hugovk
hugovk merged commit d2abd57 into python:mainDec 18, 2025
46 checks passed
@hugovk
hugovk deleted the 3.15-deprecate-version-xml branch December 18, 2025 14:22
cocolato pushed a commit to cocolato/cpython that referenced this pull request Dec 18, 2025
…sion` in `xml.sax.expatreader` & `xml.sax.handler` (python#142898)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Misleading __version__ attribute of modules in standard library

4 participants

@hugovk@vstinner@merwok@AA-Turner