Skip to content

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Feb 10, 2026

It occurred when trying to create a temporary file or subdirectory in a non-writable directory.

…le module

It occurred when trying to create a temporary file or subdirectory in
a non-writable directory.
@serhiy-storchaka
Copy link
Member Author

Reducing the number of attempts should help, but I have not tested yet.

@serhiy-storchaka serhiy-storchaka force-pushed the tempfile-hangs-on-bad-tempdir branch from 77ade1f to ac17d9e Compare February 10, 2026 19:26
@serhiy-storchaka serhiy-storchaka changed the title gh-66305: Fix a hang for a few seconds on Windows in the tempfile module gh-66305: Fix a hang on Windows in the tempfile module Feb 10, 2026
@serhiy-storchaka
Copy link
Member Author

Tested on Windows. There was a test for readonly tempdir, but it was always skipped on Windows. It was not for a few seconds, but for about 10 days (for estimations). Now the test correctly works on Windows.

@serhiy-storchaka serhiy-storchaka marked this pull request as ready for review February 10, 2026 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant