X Tutup
Skip to content

[3.11] gh-38807: Fix race condition in Lib/trace.py (GH-110143)#114207

Merged
serhiy-storchaka merged 1 commit intopython:3.11from
miss-islington:backport-78fcde0-3.11
Jan 17, 2024
Merged

[3.11] gh-38807: Fix race condition in Lib/trace.py (GH-110143)#114207
serhiy-storchaka merged 1 commit intopython:3.11from
miss-islington:backport-78fcde0-3.11

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jan 17, 2024

Instead of checking if a directory does not exist and thereafter
creating it, directly call os.makedirs() with the exist_ok=True.
(cherry picked from commit 78fcde0)

Co-authored-by: buermarc 44375277+buermarc@users.noreply.github.com

Instead of checking if a directory does not exist and thereafter
creating it, directly call os.makedirs() with the exist_ok=True.
(cherry picked from commit 78fcde0)

Co-authored-by: buermarc <44375277+buermarc@users.noreply.github.com>
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) January 17, 2024 20:03
@serhiy-storchaka serhiy-storchaka merged commit 2dca689 into python:3.11 Jan 17, 2024
@miss-islington miss-islington deleted the backport-78fcde0-3.11 branch January 2, 2026 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

X Tutup