Skip to content

Conversation

@adorilson
Copy link
Contributor

@adorilson adorilson commented Aug 8, 2025

vstinner and others added 4 commits August 8, 2025 10:54
…#106335)

Remove private _PyThreadState and _PyInterpreterState C API
functions: move them to the internal C API (pycore_pystate.h and
pycore_interp.h). Don't export most of these functions anymore, but
still export functions used by tests.

Remove _PyThreadState_Prealloc() and _PyThreadState_Init() from the C
API, but keep it in the stable API.
This reverts commit ebfa093.
@hugovk hugovk added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Nov 22, 2025
@hugovk hugovk enabled auto-merge (squash) November 24, 2025 14:04
@hugovk hugovk merged commit 0387a8e into python:main Nov 24, 2025
27 of 28 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Nov 24, 2025
@miss-islington-app
Copy link

Thanks @adorilson for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

@miss-islington-app
Copy link

Sorry, @adorilson and @hugovk, I could not cleanly backport this to 3.14 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 0387a8e0f773c5f60c089b3801898eb34c49cacd 3.14

@miss-islington-app
Copy link

Sorry, @adorilson and @hugovk, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 0387a8e0f773c5f60c089b3801898eb34c49cacd 3.13

@bedevere-app
Copy link

bedevere-app bot commented Nov 24, 2025

GH-141901 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Nov 24, 2025
hugovk added a commit to hugovk/cpython that referenced this pull request Nov 24, 2025
(cherry picked from commit 0387a8e)

Co-authored-by: Adorilson Bezerra <[email protected]>
Co-authored-by: Éric <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
Co-authored-by: Victor Stinner <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Nov 24, 2025

GH-141902 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 Nov 24, 2025
hugovk added a commit to hugovk/cpython that referenced this pull request Nov 24, 2025
(cherry picked from commit 0387a8e)

Co-authored-by: Adorilson Bezerra <[email protected]>
Co-authored-by: Éric <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
Co-authored-by: Victor Stinner <[email protected]>
hugovk added a commit that referenced this pull request Nov 24, 2025
Co-authored-by: Adorilson Bezerra <[email protected]>
Co-authored-by: Éric <[email protected]>
Co-authored-by: Victor Stinner <[email protected]>
hugovk added a commit that referenced this pull request Nov 24, 2025
Co-authored-by: Adorilson Bezerra <[email protected]>
Co-authored-by: Éric <[email protected]>
Co-authored-by: Victor Stinner <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants