SIGN IN SIGN UP

gh-116931: Add fileobj parameter check for Tarfile.addfile (GH-117988)

Tarfile.addfile now throws an ValueError when the user passes
in a non-zero size tarinfo but does not provide a fileobj,
instead of writing an incomplete entry.
L
lyc8503 committed
15b3555e4a47ec925c965778a415dc11f0f981fd
Parent: 3e7d990
Committed by GitHub <noreply@github.com> on 4/19/2024, 11:41:51 AM