]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40217: Ensure Py_VISIT(Py_TYPE(self)) is always called for PyType_FromSpec types...
authorPablo Galindo <Pablogsal@gmail.com>
Wed, 27 May 2020 09:03:38 +0000 (10:03 +0100)
committerGitHub <noreply@github.com>
Wed, 27 May 2020 09:03:38 +0000 (02:03 -0700)
commit1cf15af9a6f28750f37b08c028ada31d38e818dd
tree19918a3d6cc25f3f2bcd14687be59c8926825020
parent404b23b85b17c84e022779f31fc89cb0ed0d37e8
bpo-40217:  Ensure Py_VISIT(Py_TYPE(self)) is always called for PyType_FromSpec types (reverts GH-19414) (GH-20264)

Heap types now always visit the type in tp_traverse. See added docs for details.

This reverts commit 0169d3003be3d072751dd14a5c84748ab63a249f.

Automerge-Triggered-By: @encukou
12 files changed:
Doc/c-api/typeobj.rst
Doc/whatsnew/3.9.rst
Misc/NEWS.d/next/Core and Builtins/2020-05-23-01-15-51.bpo-40217.jZsHTc.rst [new file with mode: 0644]
Modules/_abc.c
Modules/_curses_panel.c
Modules/_json.c
Modules/_struct.c
Modules/xxlimited.c
Objects/structseq.c
Objects/typeobject.c
Parser/asdl_c.py
Python/Python-ast.c