Skip to content

gh-162285: Consume XML-RPC character data once per element - #162287

Open
woodruffw wants to merge 1 commit into
python:mainfrom
woodruffw-forks:ww/fix-162285
Open

woodruffw wants to merge 1 commit into
python:mainfrom
woodruffw-forks:ww/fix-162285

Conversation

@woodruffw

@woodruffw woodruffw commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

For nested <string> elements, each closing tag joined the same text fragments and retained another copy on the value stack. Clear the fragments after joining them to avoid quadratic memory use.

Closes #162285.

For nested <string> elements, each closing tag joined the same text
fragments and retained another copy on the value stack. Clear the
fragments after joining them to avoid quadratic memory use.
@sethmlarson

Copy link
Copy Markdown
Contributor

cc @serhiy-storchaka

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.

xmlrpc.client: quadratic memory use with nested string elements

2 participants