mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
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 0169d3003b
.
Automerge-Triggered-By: @encukou
This commit is contained in:
parent
404b23b85b
commit
1cf15af9a6
12 changed files with 87 additions and 94 deletions
|
@ -39,6 +39,7 @@ _curses_panel_clear(PyObject *m)
|
|||
static int
|
||||
_curses_panel_traverse(PyObject *m, visitproc visit, void *arg)
|
||||
{
|
||||
Py_VISIT(Py_TYPE(m));
|
||||
Py_VISIT(get_curses_panelstate(m)->PyCursesError);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue