Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
gh-120974: Make asyncio swap_current_task safe in free-threaded build#122317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-120974: Make asyncio swap_current_task safe in free-threaded build #122317
Uh oh!
There was an error while loading. Please reload this page.
Conversation
colesbury commented Jul 26, 2024 • edited by bedevere-app bot
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by bedevere-app bot
Uh oh!
There was an error while loading. Please reload this page.
…ed build Use a critical section around the modifications to `current_tasks`.
colesbury commented Jul 26, 2024
!buildbot nogil refleaks |
bedevere-bot commented Jul 26, 2024
🤖 New build scheduled with the buildbot fleet by @colesbury for commit 846f6f8 🤖 The command will test the builders whose names match following regular expression: The builders matched are:
|
Uh oh!
There was an error while loading. Please reload this page.
Thanks @colesbury for the PR, and @kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
…ed build (pythonGH-122317) * pythongh-120974: Make asyncio `swap_current_task` safe in free-threaded build (cherry picked from commit b5e6fb3) Co-authored-by: Sam Gross <colesbury@gmail.com>
GH-122612 is a backport of this pull request to the 3.13 branch. |
bedevere-bot commented Aug 2, 2024
|
…ed build (python#122317) * pythongh-120974: Make asyncio `swap_current_task` safe in free-threaded build
…ed build (python#122317) * pythongh-120974: Make asyncio `swap_current_task` safe in free-threaded build
Use a critical section around the modifications to
current_tasksso that the swapping is atomic.asynciothread-safety issues in the free-threaded build #120974