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

Docs: C API: Improve documentation around non-Python threads with subinterpreters#131087

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 commentedMar 11, 2025
edited
Loading

@da-woods'scomment inspired me to improve some of the documentation here. This should play pretty nicely with the incomingPyThreadState_Ensure API, and withGH-127990 whenever that gets merged.


📚 Documentation preview 📚:https://cpython-previews--131087.org.readthedocs.build/en/131087/c-api/init.html#supporting-subinterpreters-in-non-python-threads

da-woods reacted with thumbs up emoji
@sharktide
Copy link
Contributor

I can make backport if review passes

@ZeroIntensity
Copy link
MemberAuthor

I'll deal with resolving conflicts later today.

encukou reacted with heart emoji

@ZeroIntensityZeroIntensity removed needs backport to 3.12only security fixes needs backport to 3.13bugs and security fixes labelsMar 24, 2025
@ZeroIntensity
Copy link
MemberAuthor

I've opted to not backport this because we're using thread state terms now.

@sharktide
Copy link
Contributor

sharktide commentedMar 24, 2025 via email

ok :)
On Mon, Mar 24, 2025 at 10:44 AM Peter Bierma ***@***.***> wrote: I've opted to not backport this because we're using thread state terms now. — Reply to this email directly, view it on GitHub <#131087 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/BNITW56N5GH66FQNT6MXOHT2WAK6FAVCNFSM6AAAAABYY2QLM2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONBYGM3TQNZSGE> . You are receiving this because you commented.Message ID: ***@***.***> [image: ZeroIntensity]*ZeroIntensity* left a comment (python/cpython#131087) <#131087 (comment)> I've opted to not backport this because we're using thread state terms now. — Reply to this email directly, view it on GitHub <#131087 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/BNITW56N5GH66FQNT6MXOHT2WAK6FAVCNFSM6AAAAABYY2QLM2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONBYGM3TQNZSGE> . You are receiving this because you commented.Message ID: ***@***.***>

@ZeroIntensity
Copy link
MemberAuthor

@encukou I forgot about this one. Would you mind finishing up your review when you have some time?

Copy link
Member

@vstinnervstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM

Co-authored-by: Victor Stinner <vstinner@python.org>
@ZeroIntensityZeroIntensity added the needs backport to 3.14bugs and security fixes labelMay 8, 2025
@encukouencukou merged commitaf6b3b8 intopython:mainMay 17, 2025
26 checks passed
@miss-islington-app
Copy link

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

@github-project-automationgithub-project-automationbot moved this fromTodo toDone inDocs PRsMay 17, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMay 17, 2025
…interpreters (pythonGH-131087)(cherry picked from commitaf6b3b8)Co-authored-by: Peter Bierma <zintensitydev@gmail.com>Co-authored-by: Victor Stinner <vstinner@python.org>
@encukou
Copy link
Member

Just did. Sorry for the delay!

@bedevere-app
Copy link

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

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelMay 17, 2025
encukou pushed a commit that referenced this pull requestMay 17, 2025
…ith subinterpreters (GH-131087) (GH-134130)Docs: C API: Improve documentation around non-Python threads with subinterpreters (GH-131087)(cherry picked from commitaf6b3b8)Co-authored-by: Peter Bierma <zintensitydev@gmail.com>Co-authored-by: Victor Stinner <vstinner@python.org>
@ZeroIntensityZeroIntensity deleted the document-gilstate-subinterpreters branchMay 17, 2025 11:30
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@encukouencukouencukou left review comments

@vstinnervstinnervstinner approved these changes

@ericsnowcurrentlyericsnowcurrentlyAwaiting requested review from ericsnowcurrently

Assignees
No one assigned
Projects
Status: Done
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@ZeroIntensity@sharktide@encukou@vstinner

[8]ページ先頭

©2009-2025 Movatter.jp