commit | b6fe8572509b77d2002eaddf99d718e9b4835684 | [log] [tgz] |
---|---|---|
author | Jack DeVries <58614260+jdevries3133@users.noreply.github.com> | Wed Sep 29 05:25:48 2021 -0400 |
committer | GitHub <noreply@github.com> | Wed Sep 29 11:25:48 2021 +0200 |
tree | e99950e2ca2dc6a94a78625d669e4d466a923068 | |
parent | 233b9da07d15f19c11e483e7ef7e3c73422e03f9 [diff] |
bpo-39039: tarfile raises descriptive exception from zlib.error (GH-27766) * 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