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

[3.12] gh-129726: Break `gzip.GzipFile` reference loop (GH-130055) by miss-islington · Pull Request #130670 · python/cpython · GitHub

/ cpython Public

[3.12] gh-129726: Break gzip.GzipFile reference loop (GH-130055) - #130670

Merged
vstinner merged 1 commit into
python:3.12from
miss-islington:backport-7f39137-3.12
Feb 28, 2025
Merged

[3.12] gh-129726: Break gzip.GzipFile reference loop (GH-130055)#130670
vstinner merged 1 commit into
python:3.12from
miss-islington:backport-7f39137-3.12

Conversation

miss-islington commented Feb 28, 2025
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

A reference loop was resulting in the fileobj held by the GzipFile
being closed before the GzipFile.

The issue started with gh-89550 in 3.12, but was hidden in most cases
until 3.13 when gh-62948 made it more visible.
(cherry picked from commit 7f39137)

Co-authored-by: Cody Maloney cmaloney@users.noreply.github.com

A reference loop was resulting in the `fileobj` held by the `GzipFile`
being closed before the `GzipFile`.

The issue started with pythongh-89550 in 3.12, but was hidden in most cases
until 3.13 when pythongh-62948 made it more visible.
(cherry picked from commit 7f39137)

Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.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