gh-137093: Fix race condition in `test_embed.test_bpo20891` (GH-137094) · python/cpython@9b451fb · GitHub
Skip to content

Commit 9b451fb

Browse files
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.
1 parent fece15d commit 9b451fb

1 file changed

Lines changed: 6 additions & 18 deletions

File tree

Programs/_testembed.c

Lines changed: 6 additions & 18 deletions

0 commit comments

Comments
 (0)