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

Skip to content

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

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

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

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:39
@serhiy-storchaka
serhiy-storchaka merged commit f5b4289 into python:3.14 Sep 13, 2026
37 of 38 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.14 branch September 13, 2026 12:43
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