cpython/Lib/zipfile
Gregory P. Smith 7b426f9f76
[3.15] gh-161094: Fix zipfile.is_zipfile() raising ValueError on file-like objects (GH-161095) (#161120)
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 2789841a48)
2026-11-01 19:38:25 +00:00
..
_path [3.15] gh-100609: Render an unnamed zipfile as ":zipfile:" in zipfile.Path (GH-160103) (#160118) 2026-10-21 22:23:45 +00:00
__init__.py [3.15] gh-161094: Fix zipfile.is_zipfile() raising ValueError on file-like objects (GH-161095) (#161120) 2026-11-01 19:38:25 +00:00
__main__.py