Skip to content

[3.15] gh-137571: Protect against possible UnboundLocalError in gzip._GzipReader.read() (GH-150222) - #150229

Merged
serhiy-storchaka merged 1 commit into
python:3.15from
miss-islington:backport-28eac9a-3.15
May 22, 2026
Merged

serhiy-storchaka merged 1 commit into
python:3.15from
miss-islington:backport-28eac9a-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented May 22, 2026 •

Copy link
Copy Markdown
Contributor

This has not been observed in practice, but we cannot be 100% sure that
it will not happen with some weird gzip data.
(cherry picked from commit 28eac9a)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

…GzipReader.read() (pythonGH-150222)

This has not been observed in practice, but we cannot be 100% sure that
it will not happen with some weird gzip data.
(cherry picked from commit 28eac9a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@serhiy-storchaka
serhiy-storchaka enabled auto-merge (squash) May 22, 2026 09:18
@serhiy-storchaka
serhiy-storchaka merged commit e192a0e into python:3.15 May 22, 2026
50 checks passed
@miss-islington
miss-islington deleted the backport-28eac9a-3.15 branch May 22, 2026 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants