[Python-Dev] No longer enable Py_TRACE_REFS by default in debug build

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Apr 12 18:38:43 EDT 2019


Victor Stinner wrote:
> I'm not sure of what you means by "objects placed at static memory":
> the double linked list of all Python objects is created at runtime.
> _ob_next and _ob_prev are initialized statically to NULL.

The trick of allocating extra memory in front of the object
would be harder to pull off for statically allocated objects,
although probably not impossible.

-- 
Greg


More information about the Python-Dev mailing list