-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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 <1055913+iritkatriel@users.noreply.github.com>
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 <storchaka@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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 <storchaka@gmail.com> (cherry picked from commit 202ed25) Co-authored-by: Sam Ezeh <sam.z.ezeh@gmail.com>
… corrupt ZIP file (pythonGH-32291) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> (cherry picked from commit 202ed25) Co-authored-by: Sam Ezeh <sam.z.ezeh@gmail.com>
GH-93141 is a backport of this pull request to the 3.11 branch. |
Builds on #30863
https://bugs.python.org/issue39064