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

Skip to content

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

Merged
serhiy-storchaka merged 1 commit into
python:3.13from
miss-islington:backport-e7a3937-3.13
Sep 13, 2026
Merged

[3.13] gh-93618: Document the memory usage of the incremental parsers (GH-156763)#157421
serhiy-storchaka merged 1 commit into
python:3.13from
miss-islington:backport-e7a3937-3.13

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]>
@bedevere-app bedevere-app Bot added docs Documentation in the Doc dir skip news awaiting review labels Sep 13, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs Sep 13, 2026
@serhiy-storchaka
serhiy-storchaka enabled auto-merge (squash) September 13, 2026 12:38
@serhiy-storchaka
serhiy-storchaka merged commit 5583f36 into python:3.13 Sep 13, 2026
30 of 31 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Sep 13, 2026
@miss-islington
miss-islington deleted the backport-e7a3937-3.13 branch September 13, 2026 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants