[3.11] gh-38807: Fix race condition in Lib/trace.py (GH-110143) (GH-114207)
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 78fcde039a33d8463e34356d5462fecee0f2831a) Co-authored-by: buermarc <44375277+buermarc@users.noreply.github.com>
M
Miss Islington (bot) committed
2dca68935e4884216822d18debcbf9a8e252dc21
Parent: 2b03259
Committed by GitHub <noreply@github.com>
on 1/17/2024, 8:26:09 PM