Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
hugovk merged 7 commits into
python:mainpython/cpython:mainfrom
hugovk:3.15-deprecate-version-xmlhugovk/cpython:3.15-deprecate-version-xmlCopy head branch name to clipboard
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:mainpython/cpython:mainfrom
hugovk:3.15-deprecate-version-xmlhugovk/cpython:3.15-deprecate-version-xmlCopy head branch name to clipboard

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 gh-76007: Deprecate VERSION in xml.etree.ElementTree & version in xml.sax.expatreader & 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Misleading __version__ attribute of modules in standard library

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.