SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 2 Python

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
J
Jack DeVries committed
b6fe8572509b77d2002eaddf99d718e9b4835684
Parent: 233b9da
Committed by GitHub <noreply@github.com> on 9/29/2021, 9:25:48 AM