-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
gh-83245: Raise BadZipFile instead of ValueError when reading a corrupt file #32291
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: Irit Katriel <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ran 258 tests in 59.938s
OK (skipped=1)
Looks ok.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM in general, but I have few nitpicks.
Misc/NEWS.d/next/Library/2022-04-03-19-40-09.bpo-39064.76PbIz.rst
Outdated
Show resolved
Hide resolved
Co-authored-by: Serhiy Storchaka <[email protected]>
Co-authored-by: Serhiy Storchaka <[email protected]>
Co-authored-by: Serhiy Storchaka <[email protected]>
Co-authored-by: Serhiy Storchaka <[email protected]>
Thanks @dignissimus for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10. |
Thanks @dignissimus for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
GH-93140 is a backport of this pull request to the 3.10 branch. |
… corrupt ZIP file (pythonGH-32291) Co-authored-by: Serhiy Storchaka <[email protected]> (cherry picked from commit 202ed25) Co-authored-by: Sam Ezeh <[email protected]>
… corrupt ZIP file (pythonGH-32291) Co-authored-by: Serhiy Storchaka <[email protected]> (cherry picked from commit 202ed25) Co-authored-by: Sam Ezeh <[email protected]>
GH-93141 is a backport of this pull request to the 3.11 branch. |
…a corrupt ZIP file (GH-32291) (GH-93141) Co-authored-by: Serhiy Storchaka <[email protected]> (cherry picked from commit 202ed25) Co-authored-by: Sam Ezeh <[email protected]> Automerge-Triggered-By: GH:serhiy-storchaka
…a corrupt ZIP file (GH-32291) (GH-93140) Co-authored-by: Serhiy Storchaka <[email protected]> (cherry picked from commit 202ed25) Co-authored-by: Sam Ezeh <[email protected]> Automerge-Triggered-By: GH:serhiy-storchaka
Builds on #30863
https://bugs.python.org/issue39064