]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-66305: Fix a hang on Windows in the tempfile module (GH-144672) (GH-145168)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 24 Feb 2026 11:32:12 +0000 (12:32 +0100)
committerGitHub <noreply@github.com>
Tue, 24 Feb 2026 11:32:12 +0000 (11:32 +0000)
commitda03b36f455c29fd984d65d63735442e936b4f24
treedac6452e0d54bf55e7e850a73437cde1fdc8e752
parent6d2c5a9f4a664d12509da9055d865980d2264bf9
[3.14] gh-66305: Fix a hang on Windows in the tempfile module (GH-144672) (GH-145168)

It occurred when trying to create a temporary file or subdirectory in
a non-writable directory.
(cherry picked from commit ca66d3c40cd9ac1fb94dd7cd79ccb8fecf019527)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/tempfile.py
Lib/test/test_tempfile.py
Misc/NEWS.d/next/Library/2026-02-10-16-56-05.gh-issue-66305.PZ6GN8.rst [new file with mode: 0644]