Skip to content

Conversation

@adorilson
Copy link
Contributor

@adorilson adorilson commented Aug 8, 2025

vstinner and others added 5 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.
@StanFromIreland
Copy link
Member

@adorilson PS. Whatever branch you are creating branches from has a few extra commits.

@adorilson
Copy link
Contributor Author

@adorilson PS. Whatever branch you are creating branches from has a few extra commits.

A long git horror history. But now it has ended (I hope).

@hugovk
Copy link
Member

hugovk commented Feb 8, 2026

We've all had git horror stories! 😱🧛😈

@hugovk hugovk merged commit 3dd7a3c into python:main Feb 8, 2026
33 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Feb 8, 2026
@hugovk hugovk added awaiting review needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Feb 8, 2026
@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.
🐍🍒⛏🤖

@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.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 8, 2026
(cherry picked from commit 3dd7a3c65ad4ac330ad44a519efa017484530e1a)

Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 8, 2026
(cherry picked from commit 3dd7a3c)

Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
@bedevere-app
Copy link

bedevere-app bot commented Feb 8, 2026

GH-144609 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 Feb 8, 2026
@bedevere-app
Copy link

bedevere-app bot commented Feb 8, 2026

GH-144610 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 Feb 8, 2026
hugovk pushed a commit that referenced this pull request Feb 8, 2026
gh-106318: Add example for str.isalnum() (GH-137550)
(cherry picked from commit 3dd7a3c)

Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
hugovk pushed a commit that referenced this pull request Feb 8, 2026
gh-106318: Add example for str.isalnum() (GH-137550)
(cherry picked from commit 3dd7a3c)

Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants