mirror of
https://github.com/python/cpython.git
synced 2026-05-19 10:54:30 -04:00
02ca57ce4c
The debug memory api now keeps track of which external API (PyMem_* or PyObject_*) was used to allocate each block and treats any API violation as an error. Added separate _PyMem_DebugMalloc functions for the Py_Mem API instead of having it use the _PyObject_DebugMalloc functions.