FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.15] gh-93618: Document the memory usage of the incremental parsers (GH-156763) by miss-islington · Pull Request #157419 · python/cpython · GitHub

Repository navigation

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

Merged
hugovk merged 1 commit into
python:3.15from
miss-islington:backport-e7a3937-3.15
Sep 15, 2026
Merged

hugovk merged 1 commit into
python:3.15from
miss-islington:backport-e7a3937-3.15

Conversation

miss-islington commented Sep 13, 2026 •
edited by bedevere-app Bot
Loading

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 storchaka@gmail.com

…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 <storchaka@gmail.com>

Copy link
Copy Markdown

hugovk merged commit 325e233 into python:3.15 Sep 15, 2026
39 checks passed
github-project-automation Bot moved this from Todo to Done in Docs PRs Sep 15, 2026
miss-islington deleted the backport-e7a3937-3.15 branch September 15, 2026 13:12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL