SIGN IN SIGN UP

[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>
M
Miss Islington (bot) committed
cb1d20b81d7d66e4cd99b231a6c23214d625da95
Parent: dd35504
Committed by GitHub <noreply@github.com> on 2/24/2026, 11:37:52 AM