diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-10-05 20:54:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-05 20:54:47 (GMT) |
commit | 5a4e821b436710bc9814513965ec9ad097c4adac (patch) | |
tree | de1ad6db6f515b7ae3040cc63b53748201a07226 /Python/errors.c | |
parent | 350d89b79588ebd140c3987cc05e3719ca17a973 (diff) | |
download | cpython-5a4e821b436710bc9814513965ec9ad097c4adac.zip cpython-5a4e821b436710bc9814513965ec9ad097c4adac.tar.gz cpython-5a4e821b436710bc9814513965ec9ad097c4adac.tar.bz2 |
[3.12] gh-110429: Fix race condition in "make regen-all" (GH-110433) (#110438)
gh-110429: Fix race condition in "make regen-all" (GH-110433)
"make regen-pegen" now creates a temporary file called "parser.c.new"
instead of "parser.new.c". Previously, if "make clinic" was run in
parallel with "make regen-all", clinic may try but fail to open
"parser.new.c" if the temporay file was removed in the meanwhile.
(cherry picked from commit fb6c4ed2bbb2a867d5f0b9a94656e4714be5d9c2)
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions