]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-136170: Revert adding `ZipFile.data_offset` (GH-136950)
authorEmma Smith <emma@emmatyping.dev>
Mon, 21 Jul 2025 23:16:30 +0000 (16:16 -0700)
committerGitHub <noreply@github.com>
Mon, 21 Jul 2025 23:16:30 +0000 (23:16 +0000)
commit6bf1c0ab3497b1b193812654bcdfd0c11b4192d8
tree253622c36fcaf735eeba5b665c2c4312d909e2d5
parent89c220b93c06059f623e2d232bd54f49be1be22d
gh-136170: Revert adding `ZipFile.data_offset` (GH-136950)

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

This reverts commit 6cd1d6c6b142697fb72f422b7b448c27ebc30534.

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

This reverts commit 0788948dcb980c7648b29ca363390b696d7f188f.

---------

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]