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

@hugovk hugovk commented Dec 17, 2025

Copy link
Copy Markdown
Member
@hugovk
hugovk requested a review from AA-Turner as a code owner December 17, 2025 17:59
@hugovk hugovk changed the title Deprecate VERSION in xml.etree.ElementTree and version in xml.sax.expatreader and xml.sax.handler Dec 17, 2025
Comment thread Lib/test/test_sax.py
Comment thread Lib/test/test_xml_etree.py
Comment thread Lib/xml/etree/ElementTree.py
Comment thread Lib/xml/sax/expatreader.py

@vstinner vstinner 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 thread Lib/test/test_sax.py
Comment thread Lib/xml/sax/expatreader.py Outdated
@hugovk
hugovk enabled auto-merge (squash) December 18, 2025 13:54
@hugovk
hugovk merged commit d2abd57 into python:main Dec 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 free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants