
June 15, 2013
5:51 p.m.
2013/6/15 Antoine Pitrou <solipsis@pitrou.net>:
Moreover, I think you are conflating two issues: the ability to add memory allocation hooks (for tracing/debugging purposes), and the adaptation to "non-traditional" memory models (whatever that means). Those concerns don't necessarily come together.
In my implementation, both uses case use the same API: PyMem_SetAllocators(), except that hooks need also PyMem_GetAllocators(). Victor