[ Web Proxy ]
URL:
Viewing: https://github-redirect.dependabot.com/python/cpython/pull/159074 [Back]  [Original]

[3.12] gh-157579: Fix race condition in the cleanup of `tempfile.TemporaryDirectory` (GH-157580) (GH-158430) by encukou Pull Request #159074 python/cpython GitHub
Skip to content

Navigation Menu

Sign in
Search/
Sign up

Repository navigation

More items

[3.12] gh-157579: Fix race condition in the cleanup of tempfile.TemporaryDirectory (GH-157580) (GH-158430) - #159074

Open
encukou wants to merge 2 commits into
python:3.12from
encukou:backport-58ed025-3.12
Open

encukou wants to merge 2 commits into
python:3.12from
encukou:backport-58ed025-3.12

Conversation

@encukou [@encukou]

Copy link
Copy Markdown
Member

(cherry picked from commit 5c20517)

  • Add root user checks to test.support

This partially backports commit 86b8617 (GH-146195); making existing tests use the helper is omitted.

(cherry picked from commit 86b8617)

(cherry picked from commit e004cf8)

[Go]
miss-islington and others added 2 commits October 9, 2026 17:30
e.TemporaryDirectory` (pythonGH-157580) (pythonGH-158430)

* pythongh-157579: Fix race condition in the cleanup of `tempfile.TemporaryDirectory` (pythonGH-157580)

(cherry picked from commit 5c20517)

* Add root user checks to test.support

This partially backports commit 86b8617
(pythonGH-146195); making existing tests use the helper is omitted.

---------
(cherry picked from commit 58ed025)

Co-authored-by: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Co-authored-by: Stan Ulbrych <stan@python.org>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Footer

© 2026 GitHub, Inc.

Web Proxy Viewer  |  New URL  |  Original Page