Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-136170: Use earliest zinfo.header_offset as ZipFile.data_offset#136171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
danifus wants to merge1 commit intopython:mainfromdanifus:zipdataoffset

Conversation

@danifus
Copy link
Contributor

@danifusdanifus commentedJul 1, 2025
edited by bedevere-appbot
Loading

Use the earliestzinfo.header_offset forZipFile.data_offset.

We already sort thezinfos by theirheader_offset in_RealGetContents so it is cheap to grab the zinfo with the lowestheader_offset.

Happy to add a news entry if required (given that 3.14 which introducedZipFile.data_offset hasn't been released yet?)

@danifus
Copy link
ContributorAuthor

#84481 was reopened and the addition of thedata_offset property reverted to allow more discussion about the definition ofdata_offset.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@danifus

[8]ページ先頭

©2009-2025 Movatter.jp