]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] 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:44:49 +0000 (14:44 +0100)
committerGitHub <noreply@github.com>
Tue, 5 Dec 2023 13:44:49 +0000 (13:44 +0000)
commit23920a0843f48c4f4be4a31b56ee2e44c058099b
tree3cfe703c898b0d3ab111fbf25a15afd28df28fb4
parent80c314c9cef7f10e6000474d045986bae0a6d6f2
[3.11] bpo-43153: Don't mask `PermissionError` with `NotADirectoryError` during tempdirectory cleanup (GH-29940) (GH-112754)

(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]