Skip to content

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

Merged
encukou merged 1 commit into
python:3.14from
miss-islington:backport-c5d4946-3.14
Aug 6, 2026
Merged

[3.14] gh-152105: Remove docs snippet that uses internal C API (GH-155122)#155242
encukou merged 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>
@encukou
encukou merged commit e16e88e into python:3.14 Aug 6, 2026
37 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Aug 6, 2026
@miss-islington
miss-islington deleted the backport-c5d4946-3.14 branch August 6, 2026 11:32
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.

2 participants