diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-10-28 19:23:19 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-28 19:23:19 (GMT) |
| commit | 193504acf3bfb7cff1edf7f568c2405b857fa1f7 (patch) | |
| tree | 0b41ef542a8095bc4ce266fd55ee83f0db8c5d6e /Python/pythonrun.c | |
| parent | 8e5e74e3049875e9d834fe4408263676fe21e890 (diff) | |
| download | cpython-193504acf3bfb7cff1edf7f568c2405b857fa1f7.zip cpython-193504acf3bfb7cff1edf7f568c2405b857fa1f7.tar.gz cpython-193504acf3bfb7cff1edf7f568c2405b857fa1f7.tar.bz2 | |
bpo-28737: Document when tp_dealloc should call PyObject_GC_UnTrack() (GH-29246) (GH-29248)
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 35e1ff38ee67ee543d9fcb268c3552c5397f9b3f)
Co-authored-by: Sam Gross <colesbury@gmail.com>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions
