]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-75459: Doc: C API: Improve object life cycle documentation (GH-125962)...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 20 May 2025 17:11:01 +0000 (19:11 +0200)
committerGitHub <noreply@github.com>
Tue, 20 May 2025 17:11:01 +0000 (19:11 +0200)
commit6074e1e6c4be0b12c6c6b9af95ac5673a60a8c22
tree050d12c7b9b43de46c5d9c0e8fe02df002def94a
parent6d4b56d2f3501401d7ce86c3fd9002ee878d5a1d
[3.14] gh-75459: Doc: C API: Improve object life cycle documentation (GH-125962) (GH-134344)

gh-75459: Doc: C API: Improve object life cycle documentation (GH-125962)

  * Add "cyclic isolate" to the glossary.
  * Add a new "Object Life Cycle" page.
  * Improve docs for related API, with special focus on cross-references and warnings
(cherry picked from commit 3246ea514d6da6ff09f411e22b3ba61a7de84a74)

Co-authored-by: Richard Hansen <rhansen@rhansen.org>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
13 files changed:
.gitattributes
Doc/c-api/allocation.rst
Doc/c-api/gcsupport.rst
Doc/c-api/lifecycle.dot [new file with mode: 0644]
Doc/c-api/lifecycle.dot.css [new file with mode: 0644]
Doc/c-api/lifecycle.dot.pdf [new file with mode: 0644]
Doc/c-api/lifecycle.dot.svg [new file with mode: 0644]
Doc/c-api/lifecycle.rst [new file with mode: 0644]
Doc/c-api/memory.rst
Doc/c-api/objimpl.rst
Doc/c-api/type.rst
Doc/c-api/typeobj.rst
Doc/glossary.rst