]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-91078: Return None from TarFile.next when the tarfile is empty (GH-91850)
authorSam Ezeh <sam.z.ezeh@gmail.com>
Sat, 26 Nov 2022 17:57:05 +0000 (17:57 +0000)
committerGitHub <noreply@github.com>
Sat, 26 Nov 2022 17:57:05 +0000 (09:57 -0800)
commit78365b8e283c78e23725748500f48dd2c2ca1161
tree3f6a48fa957262380ec71700e39737deb139f109
parent7796d3179b71536dd1d2ca7fdbc1255bdb8cfb52
gh-91078: Return None from TarFile.next when the tarfile is empty (GH-91850)

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]