cpython/Doc/c-api
Sam Gross 9e0012116a
[3.10] bpo-28737: Document when tp_dealloc should call PyObject_GC_UnTrack() (GH-29246) (GH-29249)
Objects that support garbage collection ("container" objects) should
call PyObject_GC_UnTrack() from their destructors before clearing any
fields which may point to other "container" objects.
(cherry picked from commit 35e1ff38ee)

Co-authored-by: Sam Gross <colesbury@gmail.com>
2021-10-28 21:22:57 +02:00
..
abstract.rst bpo-41103: Resurrect the old buffer protocol. (GH-27437) (GH-27441) 2021-07-29 13:31:42 +02:00
allocation.rst
apiabiversion.rst bpo-43795: PEP 652 user documentation (GH-25668) (GH-26034) 2021-05-13 22:29:09 -07:00
arg.rst bpo-36346: Document removal schedule of deprecate APIs (GH-20879) 2021-02-23 08:06:51 +09:00
bool.rst bpo-42528: Improve the docs of most Py*_Check{,Exact} API calls (GH-23602) 2021-01-06 12:38:26 +01:00
buffer.rst
bytearray.rst bpo-42528: Improve the docs of most Py*_Check{,Exact} API calls (GH-23602) 2021-01-06 12:38:26 +01:00
bytes.rst bpo-42528: Improve the docs of most Py*_Check{,Exact} API calls (GH-23602) 2021-01-06 12:38:26 +01:00
call.rst [3.10] [doc] Fix typos found using codespell (GH-28744) (GH-28758) 2021-10-06 15:56:57 +02:00
capsule.rst bpo-42528: Improve the docs of most Py*_Check{,Exact} API calls (GH-23602) 2021-01-06 12:38:26 +01:00
cell.rst bpo-42528: Improve the docs of most Py*_Check{,Exact} API calls (GH-23602) 2021-01-06 12:38:26 +01:00
code.rst Document PyCode_Addr2Line function. (GH-25111) 2021-04-02 13:24:57 +01:00
codec.rst
complex.rst bpo-44426: Use of 'complex' as a C variable name confuses Sphinx; change it to 'num'. (GH-26744) (GH-26760) 2021-06-16 20:13:37 +01:00
concrete.rst bpo-44392: Add Py_GenericAlias to C API docs (GH-26724) 2021-06-16 07:34:45 -07:00
contextvars.rst bpo-43959: clarify the documentation of the PyContextVar C-API (GH-25671) 2021-04-28 07:03:19 -07:00
conversion.rst closes bpo-43266: Improve array formatting. (GH-24573) 2021-02-19 09:32:31 -06:00
coro.rst bpo-42528: Improve the docs of most Py*_Check{,Exact} API calls (GH-23602) 2021-01-06 12:38:26 +01:00
datetime.rst bpo-42528: Improve the docs of most Py*_Check{,Exact} API calls (GH-23602) 2021-01-06 12:38:26 +01:00
descriptor.rst bpo-40170: Convert PyDescr_IsData() to static inline function (GH-24535) 2021-02-16 08:50:00 +01:00
dict.rst bpo-42528: Improve the docs of most Py*_Check{,Exact} API calls (GH-23602) 2021-01-06 12:38:26 +01:00
exceptions.rst [doc] Fix typo c-api/exceptions.rst (GH-27847) 2021-08-23 12:40:36 -07:00
file.rst
float.rst bpo-42528: Improve the docs of most Py*_Check{,Exact} API calls (GH-23602) 2021-01-06 12:38:26 +01:00
function.rst bpo-42990: Refactor _PyFrame_New_NoTrack() (GH-24566) 2021-02-18 19:20:16 +01:00
gcsupport.rst [3.10] bpo-28737: Document when tp_dealloc should call PyObject_GC_UnTrack() (GH-29246) (GH-29249) 2021-10-28 21:22:57 +02:00
gen.rst bpo-42528: Improve the docs of most Py*_Check{,Exact} API calls (GH-23602) 2021-01-06 12:38:26 +01:00
import.rst bpo-44441: _PyImport_Fini2() resets PyImport_Inittab (GH-26874) (GH-26877) 2021-06-23 17:47:38 +02:00
index.rst
init.rst bpo-41203: Replace Mac OS X and OS X with macOS (GH-28515) (GH-28523) 2021-09-23 13:25:31 +03:00
init_config.rst [3.10] [doc] Fix typos found using codespell (GH-28744) (GH-28758) 2021-10-06 15:56:57 +02:00
intro.rst bpo-43774: Enhance debug build documentation (GH-25712) 2021-04-29 13:06:59 +02:00
iter.rst bpo-45123: PyAiter_Check and PyObject_GetAiter fix & rename. (GH-28194) (GH-28199) 2021-09-07 12:43:33 +01:00
iterator.rst bpo-42528: Improve the docs of most Py*_Check{,Exact} API calls (GH-23602) 2021-01-06 12:38:26 +01:00
list.rst bpo-42528: Improve the docs of most Py*_Check{,Exact} API calls (GH-23602) 2021-01-06 12:38:26 +01:00
long.rst bpo-42528: Improve the docs of most Py*_Check{,Exact} API calls (GH-23602) 2021-01-06 12:38:26 +01:00
mapping.rst
marshal.rst
memory.rst Fix a small typo in the docs (GH-26991) (GH-27003) 2021-07-03 15:15:49 -03:00
memoryview.rst bpo-42528: Improve the docs of most Py*_Check{,Exact} API calls (GH-23602) 2021-01-06 12:38:26 +01:00
method.rst bpo-42528: Improve the docs of most Py*_Check{,Exact} API calls (GH-23602) 2021-01-06 12:38:26 +01:00
module.rst Note that tp_clear and m_clear are not always called (GH-27581) 2021-08-04 11:23:41 -07:00
none.rst
number.rst
objbuffer.rst bpo-41103: Resurrect the old buffer protocol. (GH-27437) (GH-27441) 2021-07-29 13:31:42 +02:00
object.rst bpo-45123: PyAiter_Check and PyObject_GetAiter fix & rename. (GH-28194) (GH-28199) 2021-09-07 12:43:33 +01:00
objimpl.rst
refcounting.rst bpo-42294: Add borrowed/strong reference to doc glossary (GH-23206) 2020-11-09 13:40:47 +01:00
reflection.rst bpo-42294: Add borrowed/strong reference to doc glossary (GH-23206) 2020-11-09 13:40:47 +01:00
sequence.rst
set.rst bpo-43277: Add PySet_CheckExact to the C-API (GH-24598) 2021-02-20 18:03:08 +00:00
slice.rst bpo-42528: Improve the docs of most Py*_Check{,Exact} API calls (GH-23602) 2021-01-06 12:38:26 +01:00
stable.rst Reword paragraph on specific value for Py_LIMITED_API (GH-26101) (GH-26123) 2021-05-14 14:28:08 +02:00
structures.rst Document PyMember_GetOne and PyMember_SetOne (GH-27555) 2021-08-02 10:08:49 -07:00
sys.rst
tuple.rst bpo-42528: Improve the docs of most Py*_Check{,Exact} API calls (GH-23602) 2021-01-06 12:38:26 +01:00
type.rst [3.10] Fix minor typo in Doc/c-api/type.rst (GH-28432) (GH-28440) 2021-09-17 19:11:51 -07:00
typehints.rst bpo-44392: Add Py_GenericAlias to C API docs (GH-26724) 2021-06-16 07:34:45 -07:00
typeobj.rst [3.10] bpo-28737: Document when tp_dealloc should call PyObject_GC_UnTrack() (GH-29246) (GH-29249) 2021-10-28 21:22:57 +02:00
unicode.rst bpo-43565: Document PyUnicode_KIND's return type as an unsigned int (GH-25724) (GH-27439) 2021-07-29 11:31:02 +02:00
utilities.rst
veryhigh.rst bpo-40939: Remove documentation for PyParser_* & add porting notes (GH-26855) (GH-26898) 2021-06-28 11:35:52 +02:00
weakref.rst bpo-42528: Improve the docs of most Py*_Check{,Exact} API calls (GH-23602) 2021-01-06 12:38:26 +01:00