Title: [3.9] bpo-39039: tarfile raises descriptive exception from zlib.error (GH-27766) by ambv · Pull Request #28614 · python/cpython · GitHub
Open Graph Title: [3.9] bpo-39039: tarfile raises descriptive exception from zlib.error (GH-27766) by ambv · Pull Request #28614 · python/cpython
X Title: [3.9] bpo-39039: tarfile raises descriptive exception from zlib.error (GH-27766) by ambv · Pull Request #28614 · python/cpython
Description: during tarfile parsing, a zlib error indicates invalid data tarfile.open now raises a descriptive exception from the zlib error this makes it clear to the user that they may be trying to open a corrupted tar file. (cherry picked from commit b6fe857) Note: since BPO-39717 wasn't backported to 3.9, this backport PR doesn't use from None in the new raise statement either. Co-authored-by: Jack DeVries 58614260+jdevries3133@users.noreply.github.com https://bugs.python.org/issue39039
Open Graph Description: during tarfile parsing, a zlib error indicates invalid data tarfile.open now raises a descriptive exception from the zlib error this makes it clear to the user that they may be trying to open a cor...
X Description: during tarfile parsing, a zlib error indicates invalid data tarfile.open now raises a descriptive exception from the zlib error this makes it clear to the user that they may be trying to open a cor...
Opengraph URL: https://github.com/python/cpython/pull/28614
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:d86fec75-feac-4149-70ff-1e532a273a6c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DF12:2162D1:2A84098:3BB9D0C:6A50DAAE |
| html-safe-nonce | e699c128b9e921e3561b6e16a00a41b143db5a95f17cea52bf39195c92d389ee |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjEyOjIxNjJEMToyQTg0MDk4OjNCQjlEMEM6NkE1MERBQUUiLCJ2aXNpdG9yX2lkIjoiODA2MDAzMzU2MzMwMTU2NzE1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 739ddd664a7044e5112b8b3de24a980c6c9c72e57f0be823543e1a2b45b727bc |
| hovercard-subject-tag | pull_request:745564308 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/28614/files |
| twitter:image | https://avatars.githubusercontent.com/u/55281?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/55281?s=400&v=4 |
| og:image:alt | during tarfile parsing, a zlib error indicates invalid data tarfile.open now raises a descriptive exception from the zlib error this makes it clear to the user that they may be trying to open a cor... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 72b13e0e8d0319acdd27a145cfe73f4f06c791713d0ac4690e41fb68ad28cac0 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 73ad5c4eaffed7bb3637024653eabdbca84a855e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width