Skip to content

gh-158166: Make ElementTree ParseError messages strings - #158168

Open
alexprengere wants to merge 3 commits into
python:mainfrom
alexprengere:gh-158166-xml-parseerror-difference
Open

alexprengere wants to merge 3 commits into
python:mainfrom
alexprengere:gh-158166-xml-parseerror-difference

Conversation

@alexprengere

@alexprengere alexprengere commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

This fixes issue #158166. We now always cast ParseError first argument to a str, like what is already done in _elementtree.c.

@python-cla-bot

python-cla-bot Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant