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.15] gh-137571: Protect against possible UnboundLocalError in gzip._GzipReader.read() (GH-150222)#150229

Merged
serhiy-storchaka merged 1 commit into
python:3.15python/cpython:3.15from
miss-islington:backport-28eac9a-3.15miss-islington/cpython:backport-28eac9a-3.15Copy head branch name to clipboard
May 22, 2026
Merged

[3.15] gh-137571: Protect against possible UnboundLocalError in gzip._GzipReader.read() (GH-150222)#150229
serhiy-storchaka merged 1 commit into
python:3.15python/cpython:3.15from
miss-islington:backport-28eac9a-3.15miss-islington/cpython:backport-28eac9a-3.15Copy head branch name to clipboard

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

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