Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[3.14] gh-137093: Fix race condition in test_embed.test_bpo20891 (GH-137094)#140524

Merged
kumaraditya303 merged 1 commit intopython:3.14python/cpython:3.14from
kumaraditya303:backport-9b451fb-3.14kumaraditya303/cpython:backport-9b451fb-3.14Copy head branch name to clipboard
Oct 24, 2025
Merged

[3.14] gh-137093: Fix race condition in test_embed.test_bpo20891 (GH-137094)#140524
kumaraditya303 merged 1 commit intopython:3.14python/cpython:3.14from
kumaraditya303:backport-9b451fb-3.14kumaraditya303/cpython:backport-9b451fb-3.14Copy head branch name to clipboard

Conversation

@kumaraditya303
Copy link
Contributor

@kumaraditya303 kumaraditya303 commented Oct 24, 2025

Use a PyEvent instead of a lock to fix a race on the free-threaded build. (cherry picked from commit 9b451fb)

…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>
@bedevere-app bedevere-app bot added the tests Tests in the Lib/test dir label Oct 24, 2025
@kumaraditya303 kumaraditya303 merged commit 6efd78d into python:3.14 Oct 24, 2025
58 checks passed
@miss-islington-app
Copy link

Thanks @kumaraditya303 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

@kumaraditya303 kumaraditya303 deleted the backport-9b451fb-3.14 branch October 24, 2025 07:51
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 24, 2025
…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>
@bedevere-app
Copy link

bedevere-app bot commented Oct 24, 2025

GH-140527 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Oct 24, 2025
kumaraditya303 added a commit that referenced this pull request Oct 24, 2025
…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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.