STINNER Victor added the comment: > It was discussed to reuse _Py_slist somewhere (I don't remember where) (...)
I did a quick search in Python code based using "link.*list" regex. Structures linked in a single-linked list (candidate for _Py_slist): * Modules/_curses_panel.c: list_of_panels * Modules/_elementtree.c: ParentLocator * Modules/floatobject.c: free_list * Objects/obmalloc.c: arena_object.freepools * Python/compile.c: basicblock * Python/pyarena.c: block * Include/pystate.h: PyInterpreterState.tstate_head * Python/thead.c: key Structures linked in a double-linked list: * Include/objimpl.h: PyGC_Head * Include/object.c: PyObject (in debug mode) * Modules/_collectionsmodule.c: block * Objects/obmalloc.c: arena_object * Include/weakrefobject.h: _PyWeakReference ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18874> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com