]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-67837, gh-112998: Fix dirs creation in concurrent extraction (GH-115082)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 11 Feb 2024 10:38:07 +0000 (12:38 +0200)
committerGitHub <noreply@github.com>
Sun, 11 Feb 2024 10:38:07 +0000 (12:38 +0200)
commit5d2794a16bc1639e6053300c08a78d60526aadf2
tree7530ef4d000872d6cfad32a7b90d831e785143f4
parentbf75f1b147b8cc4c5506df7c4bb30b9950ceda1a
gh-67837, gh-112998: Fix dirs creation in concurrent extraction (GH-115082)

Avoid race conditions in the creation of directories during concurrent
extraction in tarfile and zipfile.

Co-authored-by: Samantha Hughes <shughes-uk@users.noreply.github.com>
Co-authored-by: Peder Bergebakken Sundt <pbsds@hotmail.com>
Lib/tarfile.py
Lib/test/archiver_tests.py
Lib/zipfile/__init__.py
Misc/NEWS.d/next/Library/2024-02-06-15-16-28.gh-issue-67837._JKa73.rst [new file with mode: 0644]