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

[3.12] gh-101438: Avoid reference cycle in ElementTree.iterparse. (GH-114269) by miss-islington · Pull Request #114499 · python/cpython · GitHub

/ cpython Public

[3.12] gh-101438: Avoid reference cycle in ElementTree.iterparse. (GH-114269) - #114499

Merged
serhiy-storchaka merged 1 commit into
python:3.12from
miss-islington:backport-ce01ab5-3.12
Jan 23, 2024
Merged

[3.12] gh-101438: Avoid reference cycle in ElementTree.iterparse. (GH-114269)#114499
serhiy-storchaka merged 1 commit into
python:3.12from
miss-islington:backport-ce01ab5-3.12

Conversation

miss-islington commented Jan 23, 2024
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

The iterator returned by ElementTree.iterparse() may hold on to a file
descriptor. The reference cycle prevented prompt clean-up of the file
descriptor if the returned iterator was not exhausted.
(cherry picked from commit ce01ab5)

Co-authored-by: Sam Gross colesbury@gmail.com

…honGH-114269)

The iterator returned by ElementTree.iterparse() may hold on to a file
descriptor. The reference cycle prevented prompt clean-up of the file
descriptor if the returned iterator was not exhausted.
(cherry picked from commit ce01ab5)

Co-authored-by: Sam Gross <colesbury@gmail.com>
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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL