]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-75459: Doc: C API: Improve object life cycle documentation (GH-125962)
authorRichard Hansen <rhansen@rhansen.org>
Tue, 20 May 2025 12:25:50 +0000 (08:25 -0400)
committerGitHub <noreply@github.com>
Tue, 20 May 2025 12:25:50 +0000 (14:25 +0200)
commit3246ea514d6da6ff09f411e22b3ba61a7de84a74
treec278e923acefbc8cd807e04f296a26f9d336af3f
parent306f9e04e50c80f7be2a38fc3b64accf59f5164c
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

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