Skip to content

[3.15] gh-161094: Fix zipfile.is_zipfile() raising ValueError on file-like objects (GH-161095) - #161120

Merged
gpshead merged 1 commit into
python:3.15from
gpshead:backport-2789841-3.15
Nov 1, 2026
Merged

gpshead merged 1 commit into
python:3.15from
gpshead:backport-2789841-3.15

Conversation

@gpshead

@gpshead gpshead commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

…r` on file-like objects (pythonGH-161095)

Return False instead of seeking to a negative offset when the end of
central directory record places the central directory before the start
of the file.

(cherry picked from commit 2789841)
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.

1 participant