Skip to content

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

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

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

Conversation

@miss-islington

@miss-islingtonmiss-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 freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting reviewdocsDocumentation in the Doc dirskip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants

@miss-islington@encukou