SIGN IN SIGN UP

[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>
M
Miss Islington (bot) committed
da03b36f455c29fd984d65d63735442e936b4f24
Parent: 6d2c5a9
Committed by GitHub <noreply@github.com> on 2/24/2026, 11:32:12 AM