]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-136170: Revert adding `ZipFile.data_offset` (GH-136950) (#136955)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 22 Jul 2025 03:35:41 +0000 (05:35 +0200)
committerGitHub <noreply@github.com>
Tue, 22 Jul 2025 03:35:41 +0000 (20:35 -0700)
commitcaef946a25aac557f13cb66fbc70f06225546e67
tree810f61d5234460d7d918864c44f25850787b34db
parent4af1b72b31117896fd09c89063d136b51da76dbb
[3.14] gh-136170: Revert adding `ZipFile.data_offset` (GH-136950) (#136955)

gh-136170: Revert adding `ZipFile.data_offset` (GH-136950)

* Revert "gh-84481: Make ZipFile.data_offset more robust (GH-132178)"

This reverts commit 6cd1d6c6b142697fb72f422b7b448c27ebc30534.

* Revert "gh-84481: Add ZipFile.data_offset attribute (GH-132165)"

This reverts commit 0788948dcb980c7648b29ca363390b696d7f188f.

---------
(cherry picked from commit 6bf1c0ab3497b1b193812654bcdfd0c11b4192d8)

Co-authored-by: Emma Smith <emma@emmatyping.dev>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Doc/library/zipfile.rst
Lib/test/test_zipfile/test_core.py
Lib/zipfile/__init__.py
Misc/NEWS.d/next/Library/2025-07-21-22-35-50.gh-issue-136170.QUlc78.rst [new file with mode: 0644]