]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-114959: tarfile: do not ignore errors when extract a directory on top of...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 3 Feb 2024 16:41:31 +0000 (17:41 +0100)
committerGitHub <noreply@github.com>
Sat, 3 Feb 2024 16:41:31 +0000 (16:41 +0000)
commite846c88b37f4a7a076785f6f9f9150ecd6d4233b
treed7042a85c4db0d0cdc1bd3b7bd9575b51f0deb78
parente9639e428a7930636cd57f75c6c7c5ea5c10e4a2
[3.11] gh-114959: tarfile: do not ignore errors when extract a directory on top of a file (GH-114960) (GH-114964)

Also, add tests common to tarfile and zipfile.
(cherry picked from commit 96bce033c4a4da7112792ba335ef3eb9a3eb0da0)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/tarfile.py
Lib/test/archiver_tests.py [new file with mode: 0644]
Lib/test/test_tarfile.py
Lib/test/test_zipfile.py
Misc/NEWS.d/next/Library/2024-02-03-16-59-25.gh-issue-114959.dCfAG2.rst [new file with mode: 0644]