]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-84481: Add ZipFile.data_offset attribute (#132165)
authorEmma Smith <emma@emmatyping.dev>
Sun, 6 Apr 2025 20:51:42 +0000 (13:51 -0700)
committerGitHub <noreply@github.com>
Sun, 6 Apr 2025 20:51:42 +0000 (13:51 -0700)
commit0788948dcb980c7648b29ca363390b696d7f188f
treee9fe1e69b32590a46ad4a0e5c07bd5638c79aaa2
parentdff8bcfa3cb2daf0aa0d3f4717fd77948d3b2b2f
gh-84481: Add ZipFile.data_offset attribute (#132165)

* Add ZipFile.data_offset attribute

This attribute provides the offset to zip data from the start of the file, when available.

* Add blurb-it

* Try fixing class ref in NEWS
Doc/library/zipfile.rst
Lib/test/test_zipfile/test_core.py
Lib/zipfile/__init__.py
Misc/NEWS.d/next/Library/2025-04-06-09-55-43.gh-issue-84481.cX4yTn.rst [new file with mode: 0644]