[3.15] gh-157579: Fix race condition in the cleanup of tempfile.TemporaryDirectory (GH-157580) - #158431
Conversation
…raryDirectory` (pythonGH-157580) (cherry picked from commit 5c20517) Co-authored-by: Stan Ulbrych <stan@python.org> Co-authored-by: Petr Viktorin <encukou@gmail.com>
Documentation build overview
148 files changed ·
|
|
!buildbot Android |
|
🤖 New build scheduled with the buildbot fleet by @encukou for commit 6341a9f 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F158431%2Fmerge The command will test the builders whose names match following regular expression: The builders matched are:
|
|
@hugovk, please consider this for 3.15. There's an Android failure on 3.13 that doesn't happen here or on 3.14. (The tests are intentionally strict. I expected we'd need to relax them on in older versions, but intentionally. If Python doesn't wrap the necessary API, the cleanup is less secure, so while the code relies on feature detection, tests don't.) |
(cherry picked from commit 5c20517)
Co-authored-by: Stan Ulbrych stan@python.org
Co-authored-by: Petr Viktorin encukou@gmail.com
tempfile.TemporaryDirectory#157579