Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

DocumentPy_AddPendingCall() change with subinterpreters in 3.12#139117

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@ZeroIntensity
Copy link
Member

@ZeroIntensityZeroIntensity commentedSep 18, 2025
edited by github-actionsbot
Loading

Noticed while working onGH-136004. Prior to 3.9,Py_AddPendingCall() would always run pending calls in the main interpreter, but then each interpreter got their own ceval state and it scheduled for any interpreter. InGH-104813, this was undone, soPy_AddPendingCall() would always schedule for the main interpreter.


📚 Documentation preview 📚:https://cpython-previews--139117.org.readthedocs.build/

@bedevere-appbedevere-appbot added awaiting core review docsDocumentation in the Doc dir labelsSep 18, 2025
@ZeroIntensityZeroIntensity added topic-C-API and removed docsDocumentation in the Doc dir awaiting core review labelsSep 18, 2025
@ZeroIntensityZeroIntensityenabled auto-merge (squash)September 18, 2025 12:05
@ZeroIntensityZeroIntensity merged commit89ff88b intopython:mainSep 18, 2025
50 checks passed
@ZeroIntensityZeroIntensity deleted the py-addpendingcalls-doc branchSeptember 18, 2025 12:10
@github-project-automationgithub-project-automationbot moved this fromTodo toDone inSprint 2024Sep 18, 2025
@github-project-automationgithub-project-automationbot moved this fromTodo toDone inDocs PRsSep 18, 2025
@miss-islington-app
Copy link

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestSep 18, 2025
…ythonGH-139117)Prior to 3.9, Py_AddPendingCall() would always run pending calls in the main interpreter, but then each interpreter got their own ceval state, and they were scheduled for any interpreter. InpythonGH-104813, this was undone, so Py_AddPendingCall() would always schedule for the main interpreter.(cherry picked from commit89ff88b)Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestSep 18, 2025
…ythonGH-139117)Prior to 3.9, Py_AddPendingCall() would always run pending calls in the main interpreter, but then each interpreter got their own ceval state, and they were scheduled for any interpreter. InpythonGH-104813, this was undone, so Py_AddPendingCall() would always schedule for the main interpreter.(cherry picked from commit89ff88b)Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
@bedevere-app
Copy link

GH-139118 is a backport of this pull request to the3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelSep 18, 2025
@bedevere-app
Copy link

GH-139119 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelSep 18, 2025
ZeroIntensity added a commit that referenced this pull requestSep 18, 2025
…3.12 (GH-139117) (GH-139119)Document `Py_AddPendingCall()` change with subinterpreters in 3.12 (GH-139117)Prior to 3.9, Py_AddPendingCall() would always run pending calls in the main interpreter, but then each interpreter got their own ceval state, and they were scheduled for any interpreter. InGH-104813, this was undone, so Py_AddPendingCall() would always schedule for the main interpreter.(cherry picked from commit89ff88b)Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
hugovk pushed a commit that referenced this pull requestOct 3, 2025
…3.12 (GH-139117) (#139118)Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

Status: Done
Archived in project

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@ZeroIntensity

[8]ページ先頭

©2009-2025 Movatter.jp