Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
vstinner merged 1 commit into
python:3.13python/cpython:3.13from
miss-islington:backport-7f39137-3.13miss-islington/cpython:backport-7f39137-3.13Copy head branch name to clipboard
Feb 28, 2025
Merged

[3.13] gh-129726: Break gzip.GzipFile reference loop (GH-130055)#130669
vstinner merged 1 commit into
python:3.13python/cpython:3.13from
miss-islington:backport-7f39137-3.13miss-islington/cpython:backport-7f39137-3.13Copy head branch name to clipboard

Conversation

@miss-islington

@miss-islington miss-islington commented Feb 28, 2025

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>
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.