diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-01-17 20:26:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-17 20:26:09 (GMT) |
commit | 2dca68935e4884216822d18debcbf9a8e252dc21 (patch) | |
tree | e9378fe22a96a376a719618c9bf3d17bfd8d7e78 /Lib/idlelib/stackviewer.py | |
parent | 2b032590222fd633e9d696faae7cb04dae5170bd (diff) | |
download | cpython-2dca68935e4884216822d18debcbf9a8e252dc21.zip cpython-2dca68935e4884216822d18debcbf9a8e252dc21.tar.gz cpython-2dca68935e4884216822d18debcbf9a8e252dc21.tar.bz2 |
[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>
Diffstat (limited to 'Lib/idlelib/stackviewer.py')
0 files changed, 0 insertions, 0 deletions