◐ Shell
reader mode source ↗
Skip to content

[3.13] [Doc] Remove unnecessary quotes from typing module (GH-137207)#137540

Merged
orsenthil merged 1 commit into
python:3.13from
miss-islington:backport-f06fcb7-3.13
Aug 8, 2025
Merged

[3.13] [Doc] Remove unnecessary quotes from typing module (GH-137207)#137540
orsenthil merged 1 commit into
python:3.13from
miss-islington:backport-f06fcb7-3.13

Conversation

@miss-islington

@miss-islington miss-islington commented Aug 8, 2025

Copy link
Copy Markdown
Contributor

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.

  • Doc: minor change

  • Revert "Doc: minor change"

This reverts commit ebfa093.

  • [Doc] Remove unnecessary quotes from typing (See Also section)

  • [Doc] Remove unnecessary quotes from typing


(cherry picked from commit f06fcb7)

Co-authored-by: Adorilson Bezerra adorilson@gmail.com
Co-authored-by: Victor Stinner vstinner@python.org


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

* pythongh-106320: Remove private _PyInterpreterState functions (pythonGH-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.

* Doc: minor change

* Revert "Doc: minor change"

This reverts commit ebfa093.

* [Doc] Remove unnecessary quotes from typing (See Also section)

* [Doc] Remove unnecessary quotes from typing

---------
(cherry picked from commit f06fcb7)

Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
@orsenthil orsenthil enabled auto-merge (squash) August 8, 2025 02:21
Hide details View details @orsenthil orsenthil merged commit 3491368 into python:3.13 Aug 8, 2025
31 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Aug 8, 2025
@miss-islington miss-islington deleted the backport-f06fcb7-3.13 branch January 2, 2026 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants