🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@adorilson
Copy link
Contributor

@adorilson adorilson commented Jul 22, 2025

WIP to #106318

Besides adding two more examples to make the argument positions more explicit, I added the .. doctest:: directive.


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

vstinner and others added 4 commits July 22, 2025 15:56
…#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.
Copy link
Contributor

@Yoav11 Yoav11 left a comment

Choose a reason for hiding this comment

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

nice! lgtm

@hugovk hugovk merged commit 0cde70b into python:main Nov 24, 2025
29 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Nov 24, 2025
@hugovk hugovk added awaiting core review needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels 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.
🐍🍒⛏🤖

@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 Nov 24, 2025
(cherry picked from commit 0cde70b)

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

bedevere-app bot commented Nov 24, 2025

GH-141903 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
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 24, 2025
(cherry picked from commit 0cde70b)

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

bedevere-app bot commented Nov 24, 2025

GH-141904 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 pushed a commit that referenced this pull request Nov 24, 2025
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
hugovk pushed a commit that referenced this pull request Nov 24, 2025
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request Dec 6, 2025
ashm-dev pushed a commit to ashm-dev/cpython that referenced this pull request Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants