]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-91078: Return None from TarFile.next when the tarfile is empty (GH-91850)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 26 Nov 2022 19:01:20 +0000 (11:01 -0800)
committerGitHub <noreply@github.com>
Sat, 26 Nov 2022 19:01:20 +0000 (11:01 -0800)
commit193a25e89c7f44a0fed0a0534046e6f89769ab36
tree018785a6de3c162164c981d0ce7b1cb8bc23bce2
parentfe9957241ad66fd246640b3ff785fe847ecdb766
gh-91078: Return None from TarFile.next when the tarfile is empty (GH-91850)

(cherry picked from commit 78365b8e283c78e23725748500f48dd2c2ca1161)

Co-authored-by: Sam Ezeh <sam.z.ezeh@gmail.com>
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Lib/tarfile.py
Lib/test/test_tarfile.py
Misc/NEWS.d/next/Library/2022-04-23-03-46-37.gh-issue-91078.87-hkp.rst [new file with mode: 0644]