Skip to content

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

Open
miss-islington wants to merge 1 commit into
python:3.14from
miss-islington:backport-c5d4946-3.14
Open

[3.14] gh-152105: Remove docs snippet that uses internal C API (GH-155122)#155242
miss-islington wants to merge 1 commit into
python:3.14from
miss-islington:backport-c5d4946-3.14

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>
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: Todo

Development

Successfully merging this pull request may close these issues.

2 participants