Skip to content

[3.12] gh-104812: Run Pending Calls in any Thread (gh-104813) - #105752

Merged
ericsnowcurrently merged 3 commits into
python:3.12from
ericsnowcurrently:per-interpreter-pending-calls-backport-3.12
Jun 14, 2023
Merged

[3.12] gh-104812: Run Pending Calls in any Thread (gh-104813)#105752
ericsnowcurrently merged 3 commits into
python:3.12from
ericsnowcurrently:per-interpreter-pending-calls-backport-3.12

Conversation

@ericsnowcurrently

@ericsnowcurrentlyericsnowcurrently commented Jun 13, 2023

Copy link
Copy Markdown
Member

For a while now, pending calls only run in the main thread (in the main interpreter). This PR changes things to allow any thread run a pending call, unless the pending call was explicitly added for the main thread to run.
(cherry picked from commit 757b402)

For a while now, pending calls only run in the main thread (in the main interpreter). This PR changes things to allow any thread run a pending call, unless the pending call was explicitly added for the main thread to run.
@ericsnowcurrently
ericsnowcurrentlyforce-pushed the per-interpreter-pending-calls-backport-3.12 branch from 0fb86c7 to f95336bCompareJune 13, 2023 21:56
@ericsnowcurrently
ericsnowcurrently enabled auto-merge (squash) June 14, 2023 00:22
@ericsnowcurrently
ericsnowcurrently merged commit 33d3069 into python:3.12Jun 14, 2023
@ericsnowcurrently
ericsnowcurrently deleted the per-interpreter-pending-calls-backport-3.12 branch June 14, 2023 00:50
Sign up for freeto 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

@ericsnowcurrently@bedevere-bot