• Victor Stinner's avatar
    bpo-35053: Add Include/tracemalloc.h (GH-10091) · 6279c1c5
    Victor Stinner authored
    * Modify object.h to ensure that pymem.h is included,
      to get _Py_tracemalloc_config variable.
    * Move _PyTraceMalloc_XXX() functions to tracemalloc.h,
      they need PyObject type. Break circular dependency between pymem.h
      and object.h.
    6279c1c5
Python.h 2.95 KB