GeezerVison is showing github.com — [3.11] gh-158876: Update bundled Expat to 2.9.0 (GH-158881) by StanFromIreland · Pull Request #160261 · python/cpython
Conversation
StanFromIreland
commented
Oct 22, 2026
•
edited by bedevere-app
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
(cherry picked from commit 0071fb5)
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Oct 22, 2026
Uh oh!
There was an error while loading. Please reload this page.
icanhasmath
pushed a commit
to ActiveState/cpython
that referenced
this pull request
Oct 28, 2026
… (python#160261)
(cherry picked from commit 0071fb5)
(cherry picked from commit 25f598d)
Co-authored-by: Petr Viktorin <[email protected]>
(cherry picked from commit b370d7a)
3.10.22.x: 3.10 builds the bundled expat from setup.py, not from
LIBEXPAT_OBJS in Makefile.pre.in, so xcs.c is added to setup.py's
expat_sources (and xcs.h to expat_depends) instead.
icanhasmath
pushed a commit
to ActiveState/cpython
that referenced
this pull request
Oct 28, 2026
… (python#160261)
(cherry picked from commit 0071fb5)
(cherry picked from commit 25f598d)
Co-authored-by: Petr Viktorin <[email protected]>
(cherry picked from commit b370d7a)
3.10.22.x: 3.10 builds the bundled expat from setup.py, not from
LIBEXPAT_OBJS in Makefile.pre.in, so xcs.c is added to setup.py's
expat_sources (and xcs.h to expat_depends) instead.
(cherry picked from commit 95dadd7)
3.9.25.x: 3.9's pyexpat predates the module-state error helpers
(set_xml_error / SET_XML_ERROR), so the 64-bit line/column switch is
applied to 3.9's set_error() directly: it now reads
EXPAT_GetCurrent{Line,Column}Number (XML_GetError{Line,Column}Number
are aliases of the current-position getters in expat), formats them
with %llu, and stores them through a new set_error_attr_location()
that uses PyLong_FromUnsignedLongLong().
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.