◐ Shell
clean mode source ↗

bpo-35053: Add Include/tracemalloc.h by vstinner · Pull Request #10091 · python/cpython

* 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.