gh-137093: Fix race condition in test_embed.test_bpo20891#137094
gh-137093: Fix race condition in test_embed.test_bpo20891#137094ZeroIntensity merged 1 commit intopython:mainpython/cpython:mainfrom
test_embed.test_bpo20891#137094Conversation
|
!buildbot nogil |
|
🤖 New build scheduled with the buildbot fleet by @ZeroIntensity for commit 166cfd7 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F137094%2Fmerge The command will test the builders whose names match following regular expression: The builders matched are:
|
|
Thanks @ZeroIntensity for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14. |
|
Thanks @ZeroIntensity for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
|
Sorry, @ZeroIntensity, I could not cleanly backport this to |
|
Sorry, @ZeroIntensity, I could not cleanly backport this to |
|
I'm not going to bother with manually backporting. The whole reason we backport tests is to prevent conflicts, but since there are already conflicts, it doesn't matter. |
…thonGH-137094) Use a `PyEvent` instead of a lock to fix a race on the free-threaded build.
…thonGH-137094) Use a `PyEvent` instead of a lock to fix a race on the free-threaded build.
|
GH-140524 is a backport of this pull request to the 3.14 branch. |
…91` (pythonGH-137094) Use a `PyEvent` instead of a lock to fix a race on the free-threaded build. (cherry picked from commit 9b451fb) Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
…91` (pythonGH-137094) Use a `PyEvent` instead of a lock to fix a race on the free-threaded build. (cherry picked from commit 9b451fb) Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
…91` (pythonGH-137094) (pythonGH-140524) Use a `PyEvent` instead of a lock to fix a race on the free-threaded build. (cherry picked from commit 9b451fb) (cherry picked from commit 6efd78d) Co-authored-by: Kumar Aditya <kumaraditya@python.org> Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
|
…H-137094) (GH-140524) (#140527) [3.14] gh-137093: Fix race condition in `test_embed.test_bpo20891` (GH-137094) (GH-140524) Use a `PyEvent` instead of a lock to fix a race on the free-threaded build. (cherry picked from commit 9b451fb) (cherry picked from commit 6efd78d) Co-authored-by: Kumar Aditya <kumaraditya@python.org> Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
|
Use a
PyEventinstead of a lock to fix a race on the free-threaded build.test_embed.test_bpo20891is racy under free-threading #137093