]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-110429: Fix race condition in "make regen-all" (#110433)
authorVictor Stinner <vstinner@python.org>
Thu, 5 Oct 2023 20:26:37 +0000 (22:26 +0200)
committerGitHub <noreply@github.com>
Thu, 5 Oct 2023 20:26:37 +0000 (22:26 +0200)
commitfb6c4ed2bbb2a867d5f0b9a94656e4714be5d9c2
tree7977f499364dd329a0bcab01997224931efecdca
parentd257479c2f6cbf3b69ed90062f00635832e4bf91
gh-110429: Fix race condition in "make regen-all" (#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.
Makefile.pre.in