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

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]