Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Communication: sax parser: add flush() after feed() (#556) #569

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

thiell
Copy link
Collaborator

@thiell thiell commented Sep 9, 2024

This is due to libexpat 2.6 reparse deferral as documented in #556.

Unfortunately ExpatParser doesn't seem to have SetReparseDeferralEnabled(), so we use an explicit flush() call to make sure all handlers are called immediately. We control the source XML.

NOTE: Only available in Python 3.13 and backports.

This is due to libexpat 2.6 reparse deferral as documented in cea-hpc#556.

Unfortunately ExpatParser doesn't seem to have SetReparseDeferralEnabled(),
so we use an explicit flush() call to make sure all handlers are called
immediately. We control the source XML.

NOTE: Only available in Python 3.13 and backports.
@thiell thiell added this to the 1.9.3 milestone Sep 9, 2024
@thiell thiell self-assigned this Sep 9, 2024
@thiell thiell added the Lib/Tree label Sep 9, 2024
@thiell thiell added this pull request to the merge queue Sep 11, 2024
Merged via the queue into cea-hpc:master with commit 5c6f17f Sep 11, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant