]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-137093: Fix race condition in `test_embed.test_bpo20891` (GH-137094)
authorPeter Bierma <zintensitydev@gmail.com>
Fri, 25 Jul 2025 12:33:18 +0000 (07:33 -0500)
committerGitHub <noreply@github.com>
Fri, 25 Jul 2025 12:33:18 +0000 (08:33 -0400)
commit9b451fb457a5de9ed535a0e2f41161dfaa9a419a
treebe7e49260ade68844cd522bb981fec1b0260622c
parentfece15d29f28e89f1231afa80508c80ed28dc37d
gh-137093: Fix race condition in `test_embed.test_bpo20891` (GH-137094)

Use a `PyEvent` instead of a lock to fix a race on the free-threaded build.
Programs/_testembed.c