]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-114959: tarfile: do not ignore errors when extract a directory on top of a file...
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 3 Feb 2024 16:18:46 +0000 (18:18 +0200)
committerGitHub <noreply@github.com>
Sat, 3 Feb 2024 16:18:46 +0000 (16:18 +0000)
commit96bce033c4a4da7112792ba335ef3eb9a3eb0da0
tree7d34b0e90ac63c13e60beddbc5df6c8e1ae94f4e
parentb4240fd68ecd2c22ec82ac549eabfe5fd35fab2a
gh-114959: tarfile: do not ignore errors when extract a directory on top of a file (GH-114960)

Also, add tests common to tarfile and zipfile.
Lib/tarfile.py
Lib/test/archiver_tests.py [new file with mode: 0644]
Lib/test/test_tarfile.py
Lib/test/test_zipfile/test_core.py
Misc/NEWS.d/next/Library/2024-02-03-16-59-25.gh-issue-114959.dCfAG2.rst [new file with mode: 0644]