Re:Memory Management in Python
by fulafel on Monday August 05, 2019 @01:28AM
(#20611510)
There are a couple of ways of interpreting this question.. but to answer the literal question of why not call malloc/free direcly:
See https://docs.python.org/3/c-api/memory.html - it supports custom user-supplied memory allocators, so calling malloc() and free() directly would break this.
[ Parent
| on HN ]
There are no comments on this comment yet.