]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] bpo-43153: Don't mask `PermissionError` with `NotADirectoryError` during tempd...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 5 Dec 2023 13:58:36 +0000 (14:58 +0100)
committerGitHub <noreply@github.com>
Tue, 5 Dec 2023 13:58:36 +0000 (13:58 +0000)
commit5acfb8258afa1ecb445f699585ffbaf7529a640d
tree12c99dc748510b9e6f8e6226505addfc99c2af6d
parent68f05dd82976e0af4e3af0f65fe226d138ff55f7
[3.12] bpo-43153: Don't mask `PermissionError` with `NotADirectoryError` during tempdirectory cleanup (GH-29940) (GH-112753)

(cherry picked from commit 8cdfee1bb902fd1e38d79170b751ef13a0907262)

Co-authored-by: Ken Jin <kenjin@python.org>
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/tempfile.py
Lib/test/test_tempfile.py
Misc/NEWS.d/next/Library/2021-12-06-22-10-53.bpo-43153.J7mjSy.rst [new file with mode: 0644]