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

Skip to content

[3.15] gh-93618: Document the memory usage of the incremental parsers (GH-156763) - #157419

Open
miss-islington wants to merge 1 commit into
python:3.15from
miss-islington:backport-e7a3937-3.15
Open

[3.15] gh-93618: Document the memory usage of the incremental parsers (GH-156763)#157419
miss-islington wants to merge 1 commit into
python:3.15from
miss-islington:backport-e7a3937-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

It was said that iterparse() can be useful for reading a large document
without holding it wholly in memory, but the tree is only built
incrementally, it is not freed incrementally. Document how to remove the
processed elements, and that a custom target does not build a tree at all.
(cherry picked from commit e7a3937)

Co-authored-by: Serhiy Storchaka [email protected]

…ythonGH-156763)

It was said that iterparse() can be useful for reading a large document
without holding it wholly in memory, but the tree is only built
incrementally, it is not freed incrementally.  Document how to remove the
processed elements, and that a custom target does not build a tree at all.
(cherry picked from commit e7a3937)

Co-authored-by: Serhiy Storchaka <[email protected]>
@read-the-docs-community

Copy link
Copy Markdown

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

Labels

awaiting review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants