Thanks to visit codestin.com
Credit goes to github.com

Skip to content

gh-157406: Report all document type declarations in the Python XMLParser - #157408

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:gh-157406-py-xmlparser-doctype
Sep 13, 2026
Merged

gh-157406: Report all document type declarations in the Python XMLParser#157408
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:gh-157406-py-xmlparser-doctype

Conversation

@serhiy-storchaka

Copy link
Copy Markdown
Member

The Python implementation of XMLParser only reported a document type declaration with an external identifier. Use the Expat handler, like the C implementation does.

…XMLParser

The Python implementation of XMLParser only reported a document type
declaration with an external identifier.  Use the Expat handler, like
the C implementation does.
@serhiy-storchaka serhiy-storchaka added needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Sep 13, 2026
@serhiy-storchaka
serhiy-storchaka enabled auto-merge (squash) September 13, 2026 08:34
@serhiy-storchaka
serhiy-storchaka merged commit f802d2d into python:main Sep 13, 2026
59 of 60 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15.
🐍🍒⛏🤖

@miss-islington-app

Copy link
Copy Markdown

Sorry, @serhiy-storchaka, I could not cleanly backport this to 3.15 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker f802d2d246ba9b8ed53aa6e760faad68fd490710 3.15

@miss-islington-app

Copy link
Copy Markdown

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Sep 13, 2026

Copy link
Copy Markdown

GH-157411 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Sep 13, 2026
@serhiy-storchaka
serhiy-storchaka deleted the gh-157406-py-xmlparser-doctype branch September 13, 2026 09:30
serhiy-storchaka added a commit that referenced this pull request Sep 13, 2026
… XMLParser (GH-157408) (GH-157409)

The Python implementation of XMLParser only reported a document type
declaration with an external identifier.  Use the Expat handler, like
the C implementation does.
(cherry picked from commit f802d2d)

Co-authored-by: Serhiy Storchaka <[email protected]>
serhiy-storchaka added a commit that referenced this pull request Sep 13, 2026
… XMLParser (GH-157408) (GH-157410)

The Python implementation of XMLParser only reported a document type
declaration with an external identifier.  Use the Expat handler, like
the C implementation does.
(cherry picked from commit f802d2d)

Co-authored-by: Serhiy Storchaka <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant