Skip to content

[3.14] [Doc] Remove unnecessary quotes from typing module (GH-137207) - #137541

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

hugovk merged 1 commit into
python:3.14from
miss-islington:backport-f06fcb7-3.14

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--137541.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>
@picnixz picnixz assigned hugovk and picnixz and unassigned picnixz Aug 8, 2025
@picnixz

picnixz commented Aug 8, 2025 •

Copy link
Copy Markdown
Member

Hum, apparently, the commit message included some previous PR. Well, we can't fix it on main now :(

@hugovk
hugovk merged commit 3df0842 into python:3.14 Aug 8, 2025
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Aug 8, 2025
kumaraditya303 pushed a commit to miss-islington/cpython that referenced this pull request Sep 9, 2025
…37207) (python#137541)

Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
@miss-islington
miss-islington deleted the backport-f06fcb7-3.14 branch January 2, 2026 18:57
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 issue skip news

5 participants