Skip to content

Conversation

@miss-islington
Copy link
Contributor

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

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>
@vstinner vstinner enabled auto-merge (squash) February 28, 2025 08:10
@vstinner vstinner merged commit 500ea3b into python:3.12 Feb 28, 2025
29 checks passed
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