diff options
author | lyc8503 <me@lyc8503.site> | 2024-04-19 11:41:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-19 11:41:51 (GMT) |
commit | 15b3555e4a47ec925c965778a415dc11f0f981fd (patch) | |
tree | 9699f4644620c576afa6d727c776b3ac09b608f9 /Doc/library/tempfile.rst | |
parent | 3e7d990a09f0928050b2b0c85f724c2bce13fcbb (diff) | |
download | cpython-15b3555e4a47ec925c965778a415dc11f0f981fd.zip cpython-15b3555e4a47ec925c965778a415dc11f0f981fd.tar.gz cpython-15b3555e4a47ec925c965778a415dc11f0f981fd.tar.bz2 |
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.
Diffstat (limited to 'Doc/library/tempfile.rst')
0 files changed, 0 insertions, 0 deletions