diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-01-17 20:35:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-17 20:35:00 (GMT) |
commit | 24d23929d6b77d644fc6ffec5d565deba2231504 (patch) | |
tree | 96f9b470780c500dbe13843610778f0076f5ac72 /Python/getversion.c | |
parent | a735fea6b17c45b0dc0f650e59901770074176e1 (diff) | |
download | cpython-24d23929d6b77d644fc6ffec5d565deba2231504.zip cpython-24d23929d6b77d644fc6ffec5d565deba2231504.tar.gz cpython-24d23929d6b77d644fc6ffec5d565deba2231504.tar.bz2 |
[3.12] gh-38807: Fix race condition in Lib/trace.py (GH-110143) (GH-114206)
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>
Diffstat (limited to 'Python/getversion.c')
0 files changed, 0 insertions, 0 deletions