Skip to content

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

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

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

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:19
@serhiy-storchaka
serhiy-storchaka merged commit 58a3681 into python:3.14 May 22, 2026
45 checks passed
@miss-islington
miss-islington deleted the backport-28eac9a-3.14 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