[Python-Dev] No longer enable Py_TRACE_REFS by default in debug build (original) (raw)

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. obnext and obprev 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