Skip to content

[3.15] gh-152105: Remove docs snippet that uses internal C API (GH-155122) - #155241

Merged
hugovk merged 1 commit into
python:3.15from
miss-islington:backport-c5d4946-3.15
Aug 7, 2026
Merged

[3.15] gh-152105: Remove docs snippet that uses internal C API (GH-155122)#155241
hugovk merged 1 commit into
python:3.15from
miss-islington:backport-c5d4946-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Follow-up to GH-143490.

_PyInterpreterFrame.f_executable and PyStackRef_AsPyObjectBorrow are undocumented and only available in the internal API.
Docs should not suggest using them, even if PyUnstable_ExecutableKinds is unusable without them.
(cherry picked from commit c5d4946)

Co-authored-by: Petr Viktorin encukou@gmail.com
Co-authored-by: Stan Ulbrych stan@python.org

…GH-155122)

Follow-up to pythonGH-143490.

`_PyInterpreterFrame.f_executable` and `PyStackRef_AsPyObjectBorrow` are undocumented and only available in the internal API.
Docs should not suggest using them, even if `PyUnstable_ExecutableKinds` is unusable without them.
(cherry picked from commit c5d4946)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Stan Ulbrych <stan@python.org>
@read-the-docs-community

Copy link
Copy Markdown

@hugovk
hugovk enabled auto-merge (squash) August 7, 2026 15:34
@hugovk
hugovk merged commit 70df291 into python:3.15 Aug 7, 2026
42 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Aug 7, 2026
@miss-islington
miss-islington deleted the backport-c5d4946-3.15 branch August 7, 2026 15:34
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.

3 participants